Skip to content

Commit

Permalink
automatically push chaotic.gpg to chaotic-aur.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
JustTNE committed Dec 26, 2023
1 parent 4f95e3d commit ee8028b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/push-to-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

name: Push to chaotic-aur.github.io
on:
workflow_dispatch:
push:
branches:
- master
paths:
- chaotic.gpg
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: main
- 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
path: target
- name: Commit and push changes
run: |
cp main/chaotic.gpg target/chaotic.gpg
cd target
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
1 change: 1 addition & 0 deletions chaotic.gpg
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,4 @@ uyhJ9PyO4JYDaSceYyj3JRRSZWNK6OTZ+FBWK7F9eL7j6DbDZFm5g+Cm/Lexv9DD
oQ0=
=Bkh0
-----END PGP PUBLIC KEY BLOCK-----

0 comments on commit ee8028b

Please sign in to comment.