Skip to content

fix gh action 21

fix gh action 21 #28

Workflow file for this run

name: Update Pelican Site
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Pelican
run: pip install pelican[markdown] pelican-tag-cloud pymdown-extensions
- name: Build site
run: pelican content -d -v
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: github-pages
path: ./output
- name: Deploy site
uses: actions/deploy-pages@v4