Skip to content

Commit

Permalink
fix: the directory of move in build-latex
Browse files Browse the repository at this point in the history
  • Loading branch information
FeryET committed Sep 24, 2023
1 parent ab412d7 commit 20506ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
root_file: $TEX_FILE
- name: move
run: mkdir -p github_artifacts && mv ${{ env.PDF_FILE }} ${{ env.ARTIFACTS_DIR }}
run: mkdir -p ${{ env.ARTIFACTS_DIR}} && mv ${{ env.PDF_FILE }} ${{ env.ARTIFACTS_DIR }}
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
Expand All @@ -43,6 +43,9 @@ jobs:
path: ${{ env.ARTIFACTS_DIR }}/${{ env.PDF_FILE }}
- name: Move to pages directory
run: mv ${{ env.ARTIFACTS_DIR }} ${{ env.GITHUB_PAGES_DIR }}
- name: Display structure of branch pre-publish
run: ls -R
working-directory: ./
- name: deploy on orphan branch
uses: peaceiris/actions-gh-pages@v3
with:
Expand All @@ -62,6 +65,5 @@ jobs:
- name: Copy To Branches Action
uses: planetoftheweb/[email protected]
env:
key: main
key: master
files: index.html CNAME

0 comments on commit 20506ed

Please sign in to comment.