Skip to content

Commit

Permalink
chore: fix workflow error; always update changelog in tabmixplus-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Oct 7, 2024
1 parent 1fa0ae5 commit 501f283
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
if [ ${{ steps.set_version.outputs.CHANGELOG_EXIST == 'true' }} ]; then
if [ "${{ steps.set_version.outputs.CHANGELOG_EXIST }}" == "true" ]; then
gh release edit dev-build --draft=false --notes-file=CHANGELOG.md
else
url=https://github.com/onemen/TabMixPlus/releases/tag/${{ env.PREVIOUS_TAG }}
Expand All @@ -99,6 +99,12 @@ jobs:
fi
gh release upload dev-build /tmp/${{ env.XPI_NAME }}.xpi --clobber
- name: Update tabmixplus-docs
env:
GH_TOKEN: ${{ secrets.TABMIXPLUS_DOCS_TOKEN }}
run: |
gh workflow run --repo onemen/tabmixplus-docs --ref main deploy.yml
- name: Upload to Bitbucket
run: |
curl --request POST \
Expand Down

0 comments on commit 501f283

Please sign in to comment.