File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ concurrency:
2121 cancel-in-progress : true
2222
2323env :
24- DOC_PATH : ~ /emacs-eask.github.io
24+ PATH_DOC : ${{ github.workspace }} /emacs-eask.github.io
2525
2626jobs :
2727 publish-doc :
@@ -51,23 +51,23 @@ jobs:
5151 if : github.ref == 'refs/heads/master'
5252 with :
5353 repository : emacs-eask/emacs-eask.github.io
54- path : ${{ env.DOC_PATH }}
54+ path : ${{ env.PATH_DOC }}
5555 token : ${{ secrets.PAT }}
5656
5757 - name : Clean up before the build
58- working-directory : ${{ env.DOC_PATH }}
58+ working-directory : ${{ env.PATH_DOC }}
5959 run : git rm -r '*'
6060
6161 - name : Build doc artifacts with Hugo
6262 working-directory : docs
6363 run : |
64- mkdir -p ${{ env.DOC_PATH }}
65- hugo --destination ${{ env.DOC_PATH }} --minify
64+ mkdir -p ${{ env.PATH_DOC }}
65+ hugo --destination ${{ env.PATH_DOC }} --minify
6666
6767 # TODO: Generate better commit message
6868 - name : Publish doc artifacts
6969 if : github.ref == 'refs/heads/master'
70- working-directory : ${{ env.DOC_PATH }}
70+ working-directory : ${{ env.PATH_DOC }}
7171 run : |
7272 git config user.name github-actions
7373 git config user.email [email protected]
You can’t perform that action at this time.
0 commit comments