Skip to content

Commit 3fadf13

Browse files
committed
feat: add publish workflow
1 parent 9b76a3b commit 3fadf13

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/publish.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
aur:
10+
name: Publish
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Publish AUR package
20+
uses: KSXGitHub/github-actions-deploy-aur@v2.5.0
21+
with:
22+
pkgname: code-server
23+
pkgbuild: ./PKGBUILD
24+
commit_username: ${{ secrets.AUR_USERNAME }}
25+
commit_email: ${{ secrets.AUR_EMAIL }}
26+
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
27+
commit_message: Update AUR package
28+
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
!.SRCINFO
44
!.gitignore
55
!README.md
6-
!update.sh
6+
!update.sh
7+
!.github

0 commit comments

Comments
 (0)