Skip to content

Commit

Permalink
fix: fixes the issue of artifact name in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FeryET committed Sep 24, 2023
1 parent 873cd5b commit d989370
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ env.PDF_FILE }}
path: ${{ env.ARTIFACTS_DIR }}
path: ${{ env.ARTIFACTS_DIR }}/${{ env.PDF_FILE }}

deploy:
runs-on: ubuntu-latest
Expand All @@ -39,7 +39,8 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v3
with:
path: ${{ env.ARTIFACTS_DIR }}
name: ${{ env.PDF_FILE }}
path: ${{ env.ARTIFACTS_DIR }}/${{ env.PDF_FILE }}
- name: Move to pages directory
run: mv ${{ env.ARTIFACTS_DIR }} ${{ env.GITHUB_PAGES_DIR }}
- name: deploy on orphan branch
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# CV

<p align=center>

[![Publish CV](https://github.com/FeryET/cv/actions/workflows/publish.yml/badge.svg)](https://github.com/FeryET/cv/actions/workflows/publish.yml)

</p>

This is my cv reposiotory. You can see the output pdf by this [**link**](https://feryet.github.io/cv).

If you want to ping at me, you can find me by the social links I have put in the pdf file linked above.
[![Publish CV](https://github.com/FeryET/cv/actions/workflows/publish.yml/badge.svg)](https://github.com/FeryET/cv/actions/workflows/publish.yml)

0 comments on commit d989370

Please sign in to comment.