Skip to content

Commit

Permalink
change branch to new publish branch
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Nov 11, 2023
1 parent d3278ca commit 25760ed
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,21 @@ jobs:
- name: checkout publish branch
uses: actions/checkout@v3
with:
ref: publish
ref: new-publish

- name: Download artifact
uses: actions/download-artifact@v3
with:
name: build
path: build

- name: Copy build files to /docs
run: cp -r build/* docs/

- name: Rename cv.html to index.html
run: mv cv.html index.html
run: mv docs/cv.html docs/index.html
- name: Rename cv.pdf to Alfred-Renn-CV.pdf
run: mv cv.pdf Alfred-Renn-CV.pdf
run: mv docs/cv.pdf docs/Alfred-Renn-CV.pdf

- name: Git auto commit
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down

0 comments on commit 25760ed

Please sign in to comment.