Skip to content

Added ld+json

Added ld+json #161

Workflow file for this run

name: Build and deploy
on: push
env:
FORCE_COLOR: "1"
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: cache_file
- name: apt install
run: |
sudo apt update
sudo apt install -y pngquant
- name: pip install
run: make install
- name: clean
run: make clean
- name: screenshot
run: |
make dev-start
sudo pip install shot-scraper
sudo shot-scraper install
sudo playwright install-deps
sudo playwright install
make screenshot-shot-scraper
make dev-stop
find output -type f -not -name "*.png" -delete
mv output output_screenshots
- name: publish
run: |
make publish
rm -rf output/theme/fonts/roboto*
rm -rf output/curriculum-vitae/ && cp -R cv output/curriculum-vitae/
rsync -av output_screenshots/ output/
- name: cname
run: make cname
- name: strip
run: make strip
- name: purge crud
run: make remove_crud
- name: insert RSS/ATOM styling
run: make feed-style
- name: touch
run: make touch
- name: pngquant
run: make pngquant
- name: perms
run: make perms
- name: hash
run: make hash
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./output
- name: purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}