Skip to content

Commit

Permalink
workflows: fix unknown flag: --github-token
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Jul 5, 2024
1 parent a71d790 commit 2e94c6b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
release:
types: [published]

workflow_dispatch:

jobs:
update-docs:
runs-on: ubuntu-latest
Expand All @@ -12,7 +14,4 @@ jobs:
env:
github-token: ${{ secrets.TABMIXPLUS_DOCS_TOKEN }}
run: |
tag_name=${{ github.event.release.tag_name }}
if [[ $tag_name =~ ^v[0-9] ]]; then
gh workflow run --repo onemen/tabmixplus-docs --ref main deploy.yml --github-token $github-token
fi
gh workflow run --repo onemen/tabmixplus-docs --ref main deploy.yml

0 comments on commit 2e94c6b

Please sign in to comment.