use a publish token that has workflow perm

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-16 09:41:33 +01:00
parent de487f14d9
commit a953a6ab63
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.rev }}
token: ${{ secrets.PUBLISH_TOKEN }}
- run: |
JOB_NAME=$(echo $JOB_NAME | sed 's|:|/|g')
git fetch --all --tags