wfxr.forgit/.github/workflows/aur.yaml
sandr01d b663d22f5b
Trigger AUR action on workflow_run instead of release (#320)
Turns out that GitHub actions do not trigger other actions by default. Using workflow_run instead of release as a trigger should solve this.
2023-08-06 17:00:10 +02:00

21 lines
421 B
YAML

name: AUR
on:
workflow_run:
workflows:
- "Release"
types:
- completed
jobs:
aur:
runs-on: ubuntu-latest
steps:
- name: Publish
uses: zokugun/github-actions-aur-releaser@v1
with:
package_name: forgit
aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }}
aur_username: ${{ secrets.AUR_USERNAME }}
aur_email: ${{ secrets.AUR_EMAIL }}