@@ -84,25 +84,24 @@ jobs:
84
84
files : |
85
85
dist/*
86
86
87
- # deploy-aur:
88
- # needs: build
89
- # runs-on: ubuntu-latest
90
- # if: startsWith(github.ref, 'refs/tags/')
91
- # steps:
92
- # - uses: Freed-Wu/[email protected]
93
- # with:
94
- # package_name: python-repl-python-wakatime
95
- # ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
87
+ deploy-aur :
88
+ needs : build
89
+ runs-on : ubuntu-latest
90
+ if : startsWith(github.ref, 'refs/tags/')
91
+ steps :
92
+ -
uses :
Freed-Wu/[email protected]
93
+ with :
94
+ package_name : python-repl-python-wakatime
95
+ ssh_private_key : ${{secrets.AUR_SSH_PRIVATE_KEY}}
96
96
97
- # yamllint disable rule:line-length
98
- # deploy-nur:
99
- # needs: build
100
- # runs-on: ubuntu-latest
101
- # if: startsWith(github.ref, 'refs/tags/')
102
- # steps:
103
- # - name: Trigger Workflow
104
- # run: >
105
- # curl -X POST -d '{"ref":"main"}'
106
- # -H "Accept: application/vnd.github.v3+json"
107
- # -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}"
108
- # https://api.github.com/repos/Freed-Wu/nur-packages/actions/workflows/version.yml/dispatches
97
+ deploy-nur :
98
+ needs : build
99
+ runs-on : ubuntu-latest
100
+ if : startsWith(github.ref, 'refs/tags/')
101
+ steps :
102
+ - name : Trigger Workflow
103
+ run : >
104
+ curl -X POST -d '{"ref":"main"}'
105
+ -H "Accept: application/vnd.github.v3+json"
106
+ -H "Authorization: Bearer ${{secrets.GH_TOKEN}}"
107
+ https://api.github.com/repos/Freed-Wu/nur-packages/actions/workflows/version.yml/dispatches
0 commit comments