Skip to content

Update resume

Update resume #136

name: Build and Publish Site
on:
push:
paths:
- 'content/**'
- pelicanconf.py
- requirements.txt
- .github/workflows/build-and-publish.yaml
- 'themes/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run black on content
run: |
black content
- name: Generate with Pelican
run: |
pelican -D content
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: output # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch