Skip to content

Build & deploy website #33

Build & deploy website

Build & deploy website #33

Workflow file for this run

name: Build & deploy website
on:
push:
branches: [master]
paths:
- '.github/workflows/website.yml'
- 'docs/**'
- '**.md'
- 'cecil.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build with Cecil
uses: Cecilapp/Cecil-Action@v3
with:
config: 'cecil.yml'
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: _site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1