Skip to content

Commit

Permalink
publish workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed Oct 29, 2023
1 parent fd509ea commit e203be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:

- name: Extract version
id: pkg
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV

- name: Checkout docs branch
uses: actions/checkout@v4
Expand All @@ -103,5 +103,5 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git add .
git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}"
git commit -m "Update documentation for version v${{ env.VERSION }}"
git push

0 comments on commit e203be9

Please sign in to comment.