File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 65
65
publish-docs :
66
66
name : Docs publish
67
67
needs :
68
- - test_integration
68
+ - publish
69
69
runs-on : self-hosted
70
70
steps :
71
71
- name : Checkout code
86
86
87
87
- name : Extract version
88
88
id : pkg
89
- run : echo "::set-output name=version:: $(node -p "require('./package.json').version")"
89
+ run : echo "VERSION= $(node -p "require('./package.json').version")" >> $GITHUB_ENV
90
90
91
91
- name : Checkout docs branch
92
92
uses : actions/checkout@v4
@@ -103,5 +103,5 @@ jobs:
103
103
git config user.name "GitHub Actions"
104
104
git config user.email "actions@github.com"
105
105
git add .
106
- git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}"
106
+ git commit -m "Update documentation for version v${{ env.VERSION }}"
107
107
git push
You can’t perform that action at this time.
0 commit comments