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 85025a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .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 @@ -14,5 +16,5 @@ jobs:
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
gh workflow run --repo onemen/tabmixplus-docs --ref main deploy.yml
fi

0 comments on commit 85025a1

Please sign in to comment.