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 72b5c60
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on:
release:
types: [published]

workflow_dispatch:

jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Update tabmixplus-docs
env:
github-token: ${{ secrets.TABMIXPLUS_DOCS_TOKEN }}
GH_TOKEN: ${{ github.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 72b5c60

Please sign in to comment.