Skip to content

Commit eaa59d5

Browse files
committed
Add readme and rewrite some description
1 parent 6aba8cf commit eaa59d5

File tree

2 files changed

+69
-5
lines changed

2 files changed

+69
-5
lines changed

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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"
33
inputs:
44
github_token:
55
description: "Github token with commit and push scope"
@@ -8,7 +8,7 @@ inputs:
88
description: "Newline-delimited list of supported architecture"
99
required: true
1010
version:
11-
description: "Newline-delimited list of supported version"
11+
description: "Newline-delimited list of supported (linux) version"
1212
required: true
1313
file:
1414
description: "Newline-delimited list of .deb files"
@@ -26,11 +26,11 @@ inputs:
2626
description: "Passphrase of GPG private key"
2727
required: false
2828
page_branch:
29-
description: "Branch of Github page"
29+
description: "Branch of Github pages"
3030
required: false
3131
default: "gh-pages"
3232
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"
3434
required: false
3535
default: "repo"
3636
debug:

readme.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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+
```

0 commit comments

Comments
 (0)