-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1affa91
commit d8c978f
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} |