forked from archlinuxcn/archlinuxcn-keyring
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automatically push chaotic.gpg to chaotic-aur.github.io
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
name: Push to chaotic-aur.github.io | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- chaotic.gpg | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: chaotic-aur/chaotic-aur.github.io | ||
token: ${{ secrets.GH_PAT }} | ||
sparse-checkout: | | ||
chaotic.gpg | ||
sparse-checkout-cone-mode: false | ||
- name: Commit and push changes | ||
run: | | ||
git config --local user.email "actions@chaotic.cx" | ||
git config --local user.name "Chaotic Temeraire" | ||
git add chaotic.gpg | ||
git commit -m "Update chaotic.gpg" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters