ci: Use bot to push releases and trigger site update

Apparently using the default actions token will not allow triggering
workflows. Use bot access token instead to publish the release.
This commit is contained in:
Matt Borgerson 2023-01-17 12:05:59 -07:00 committed by mborgerson
parent 6b0c66c6a1
commit 8fbbe0f0f3
2 changed files with 2 additions and 1 deletions

View File

@ -347,6 +347,7 @@ jobs:
- name: Publish release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.XEMU_ROBOT_TOKEN }}
tag_name: v${{ env.XEMU_VERSION }}
name: v${{ env.XEMU_VERSION }}
prerelease: false

View File

@ -13,5 +13,5 @@ jobs:
with:
workflow: build.yml
repo: xemu-project/xemu-website
token: ${{ secrets.XEMU_WEBSITE_TOKEN }}
token: ${{ secrets.XEMU_ROBOT_TOKEN }}
ref: master