Skip to content

Update static.yml

Update static.yml #32

Workflow file for this run

name: Push Resume to GitHub Page
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Push to Pages Repo
run: |
git config --global user.name "davidedigrande"
git config --global user.email "[email protected]"
git rm -r --cached resume.yml
git add resume.yml
git commit -m "Update resume.yml"
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
cp -R ./resume.css ./davidedigrande.github.io/resume.css
cd davidedigrande.github.io
ls
git add .
git commit -m "Update from Resume-Builder"
git push
env:
GH_TOKEN: ${{ secrets.RESUME_BUILDER_GITHUB_ACTION_TOKEN }}