Skip to content

New blog post

New blog post #54

Workflow file for this run

name: CI
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: build_and_deploy
uses: shalzz/[email protected]
env:
BUILD_THEMES: false
BUILD_ONLY: true
- name: Fix permissions
run: |
chmod -c -R +rX "public/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public/
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
typos:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master