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 24, 2023
1 parent 3f07124 commit 7e7f9d1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
run: |
git config --global user.name "davidedigrande"
git config --global user.email "[email protected]"
gh repo list
gh repo delete davidedigrande.github.io --yes
gh repo create davidedigrande.github.io --public
git clone https://x-access-token:${GITHUB_TOKEN}@github.com/davidedigrande/davidedigrande.github.io.git
git clone https://x-access-token:${GH_TOKEN}@github.com/davidedigrande/davidedigrande.github.io.git
pip install -r requirements.txt
python -m main
cp -R ./resume.html ./davidedigrande.github.io/index.html
Expand All @@ -32,6 +29,5 @@ jobs:
git add .
git commit -m "Update from Resume-Builder"
git push
env:
GITHUB_TOKEN: ${{ github.token }}
env:
GH_TOKEN: ${{ secrets.RESUME_BUILDER_GITHUB_ACTION_TOKEN }}

0 comments on commit 7e7f9d1

Please sign in to comment.