Skip to content

Commit

Permalink
updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jitinnair1 committed Jun 4, 2024
1 parent 32f1de3 commit 2c71e7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
FILE: cv
steps:
- name: Set up Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: cv
uses: dante-ev/latex-action@latest
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: move
run: mkdir -p github_artifacts && mv ${{ env.DIR }}/${{ env.FILE }}.pdf ./github_artifacts/
- name: Upload pdf as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.FILE }}.pdf
path: ./github_artifacts
Expand All @@ -29,14 +29,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: github_artifacts
- name: move
run: mkdir -p github_deploy && mv github_artifacts/*/* github_deploy
- name: deploy on orphan branch
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./github_deploy
Expand All @@ -47,7 +47,7 @@ jobs:
needs: [deploy]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Copy To Branches Action
Expand Down

0 comments on commit 2c71e7f

Please # to comment.