Skip to content

Commit

Permalink
doc: worked on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BRAVO68WEB committed Aug 1, 2024
1 parent 6d2e03e commit 2dfa0f0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
uses: actions/download-artifact@v2
with:
name: resume-misc-zip
path: .

- name: 🔑 Set up GitHub CLI
run: |
Expand All @@ -134,11 +135,14 @@ jobs:
- name: 📄 Upload assets to docs/ folder
run: |
mkdir -p docs
cp out/${{ env.PDF_NAME }} docs/cv.pdf
cp out/${{ env.HTML_NAME }} docs/index.html
mkdir -p docs-temp dl docs
mv ${{ env.MISC_NAME }} dl/resume.zip
unzip -o dl/${{ env.MISC_NAME }} -d docs-temp/
cp docs-temp/out/${{ env.PDF_NAME }} docs/cv.pdf
cp docs-temp/out/${{ env.HTML_NAME }} docs/index.html
rm -rf docs-temp dl
git config user.name "b68web"
git config user.email "git@b68.dev"
git add docs/
git commit -m "Add release $TAG_NAME"
git push
git push origin HEAD:main

0 comments on commit 2dfa0f0

Please sign in to comment.