We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8bffb commit a615769Copy full SHA for a615769
.github/workflows/publish.yml
@@ -65,7 +65,7 @@ jobs:
65
publish-docs:
66
name: Docs publish
67
needs:
68
- - test_integration
+ - publish
69
runs-on: self-hosted
70
steps:
71
- name: Checkout code
@@ -86,7 +86,7 @@ jobs:
86
87
- name: Extract version
88
id: pkg
89
- run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
+ run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
90
91
- name: Checkout docs branch
92
uses: actions/checkout@v4
@@ -103,5 +103,5 @@ jobs:
103
git config user.name "GitHub Actions"
104
git config user.email "actions@github.com"
105
git add .
106
- git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}"
+ git commit -m "Update documentation for version v${{ env.VERSION }}"
107
git push
0 commit comments