File tree Expand file tree Collapse file tree 2 files changed +69
-5
lines changed Expand file tree Collapse file tree 2 files changed +69
-5
lines changed Original file line number Diff line number Diff line change 1
- name : " Github page APT repo"
2
- description : " Setup and manage APT repo"
1
+ name : " Github pages APT repo"
2
+ description : " Setup and manage APT repo on Github pages "
3
3
inputs :
4
4
github_token :
5
5
description : " Github token with commit and push scope"
8
8
description : " Newline-delimited list of supported architecture"
9
9
required : true
10
10
version :
11
- description : " Newline-delimited list of supported version"
11
+ description : " Newline-delimited list of supported (linux) version"
12
12
required : true
13
13
file :
14
14
description : " Newline-delimited list of .deb files"
@@ -26,11 +26,11 @@ inputs:
26
26
description : " Passphrase of GPG private key"
27
27
required : false
28
28
page_branch :
29
- description : " Branch of Github page "
29
+ description : " Branch of Github pages "
30
30
required : false
31
31
default : " gh-pages"
32
32
repo_folder :
33
- description : " Location of APT repo folder relative to root of Github page "
33
+ description : " Location of APT repo folder relative to root of Github pages "
34
34
required : false
35
35
default : " repo"
36
36
debug :
Original file line number Diff line number Diff line change
1
+ # Github pages APT repo
2
+
3
+ This action will setup and manage a simple APT repo on your github pages
4
+
5
+ ## Inputs
6
+
7
+ ### ` github_token `
8
+
9
+ ** Required** Personal access token with commit and push scope granted.
10
+
11
+ ### ` arch `
12
+
13
+ ** Required** Newline-delimited list of supported architecture
14
+
15
+ ### ` version `
16
+
17
+ ** Required** Newline-delimited list of supported (linux) version
18
+
19
+ ### ` file `
20
+
21
+ ** Required** Newline-delimited list of .deb files to be included
22
+
23
+ ### ` file_target_version `
24
+
25
+ ** Required** Newline-delimited list of (linux) version target of supplied .deb file
26
+
27
+ ### ` private_key `
28
+
29
+ ** Required** GPG private key for signing APT repo
30
+
31
+ ### ` public_key `
32
+
33
+ GPG public key for APT repo
34
+
35
+ ### ` key_passphrase `
36
+
37
+ Passphrase of GPG private key
38
+
39
+ ### ` page_branch `
40
+
41
+ Branch of Github pages. Defaults to ` gh-pages `
42
+
43
+ ### ` repo_folder `
44
+
45
+ Location of APT repo folder relative to root of Github pages. Defaults to ` repo `
46
+
47
+ ## Example usage
48
+
49
+ ``` yaml
50
+ uses : jrandiny/apt-repo-action@v1
51
+ with :
52
+ github_token : ${{ secrets.PAT }}
53
+ arch : |
54
+ amd64
55
+ i386
56
+ version : |
57
+ bionic
58
+ trusty
59
+ file : my_program_bionic.deb
60
+ file_target_version : bionic
61
+ public_key : ${{ secrets.PUBLIC }}
62
+ private_key : ${{ secrets.PRIVATE }}
63
+ key_passphrase : ${{ secrets.SECRET }}
64
+ ` ` `
You can’t perform that action at this time.
0 commit comments