File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ concurrency:
2020 group : ${{ github.workflow }}-${{ github.ref }}
2121 cancel-in-progress : true
2222
23+ env :
24+ PATH_DOC : ${{ github.workspace }}/cl-qob.github.io
25+
2326jobs :
2427 publish-doc :
2528 runs-on : ubuntu-latest
@@ -47,16 +50,17 @@ jobs:
4750 uses : actions/checkout@v4
4851 with :
4952 repository : cl-qob/cl-qob.github.io
50- path : cl-qob.github.io
53+ path : ${{ env.PATH_DOC }}
5154 token : ${{ secrets.PAT }}
5255
5356 - name : Build doc artifacts with Hugo
54- run : hugo --destination ../cl-qob.github.io --minify
57+ run : hugo --destination ${{ env.PATH_DOC }} --minify
5558 working-directory : docs
5659
5760 # TODO: Generate better commit message
5861 - name : Publish doc artifacts
5962 if : github.ref == 'refs/heads/master'
63+ working-directory : ${{ env.PATH_DOC }}
6064 run : |
6165 git config user.name github-actions
6266 git config user.email github-actions@github.com
6771 SourceCommit: https://github.com/cl-qob/cli/commit/${{ github.sha }}
6872 _UBLT_COMMIT_MSG_
6973 git push
70- working-directory : cl-qob.github.io
You can’t perform that action at this time.
0 commit comments