File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 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+ ` ` `
You can’t perform that action at this time.
0 commit comments