mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
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:
parent
6b0c66c6a1
commit
8fbbe0f0f3
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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
|
||||
|
2
.github/workflows/trigger-website-update.yml
vendored
2
.github/workflows/trigger-website-update.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user