-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: the directory of move in build-latex
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -62,6 +65,5 @@ jobs: | |
- name: Copy To Branches Action | ||
uses: planetoftheweb/[email protected] | ||
env: | ||
key: main | ||
key: master | ||
files: index.html CNAME | ||
|