Skip to content

Commit 87f12f6

Browse files
Merge pull request #1 from qcode-software/priyankjalu89-patch-1
Create README.md
2 parents 64a2ed8 + 5235d41 commit 87f12f6

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# action-debian-package-upload
2+
3+
A simple action to upload a debian package to an apt server using ssh.
4+
5+
### Input
6+
```yaml
7+
private_key:
8+
description: 'Private key'
9+
required: true
10+
type: string
11+
repo_name:
12+
description: 'Repository Name'
13+
required: true
14+
type: string
15+
debian_package_file:
16+
description: 'Debian package file'
17+
required: true
18+
type: string
19+
remote_user:
20+
description: 'Remote user'
21+
required: true
22+
type: string
23+
remote_host:
24+
description: 'Remote host'
25+
required: true
26+
type: string
27+
remote_dir:
28+
description: 'Remote directory'
29+
required: true
30+
type: string
31+
```
32+
33+
### Usage
34+
```yaml
35+
on:
36+
push:
37+
branches:
38+
- master
39+
40+
jobs:
41+
release:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Upload Debian Package
45+
uses: qcode-software/action-debian-package-upload@v0.3
46+
with:
47+
private_key: <<PRIVATE_KEY>>
48+
repo_name: <<REPO_NAME>>
49+
debian_package_file: <<DEBIAN_PACKAGE_FILE>>
50+
remote_user: <<REMOTE_USER>>
51+
remote_host: <REMOTE_HOST>>
52+
remote_dir: <<REMOTE_DIRECTORY>>
53+
```

0 commit comments

Comments
 (0)