Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidedigrande authored Oct 25, 2023
1 parent 1affa91 commit d8c978f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ jobs:
git config --global user.name "davidedigrande"
git config --global user.email "[email protected]"
git rm -r --cached resume.yml
git commit -m "Remove resume.yml"
git add resume.yml
git commit -m "Update resume.yml"
git push
mv resume*.yml resume.yml
git clone https://x-access-token:${GH_TOKEN}@github.com/davidedigrande/davidedigrande.github.io.git
pip install -r requirements.txt
Expand All @@ -36,6 +32,16 @@ jobs:
git add .
git commit -m "Update from Resume-Builder"
git push
cd ..
git rm --cached resume*.yml
git commit -m "Remove resume.yml"
mv resume.yml resume$(md5sum resume.yml | awk '{print $1}').yml
git add resume*.yml
git commit -m "Update resume.yml"
git push
env:
GH_TOKEN: ${{ secrets.RESUME_BUILDER_GITHUB_ACTION_TOKEN }}

0 comments on commit d8c978f

Please sign in to comment.