Skip to content

feat: No Major Glitches page (#30) #54

feat: No Major Glitches page (#30)

feat: No Major Glitches page (#30) #54

Workflow file for this run

name: Pages
on:
push:
workflow_dispatch:
jobs:
build:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Setup Pages
if: "github.repository_owner == 'p2sr' && github.ref == 'refs/heads/main'"
uses: actions/configure-pages@v5
- name: Build the site
run: python "./generate.py"
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
- name: Deploy to GitHub Pages
if: "github.repository_owner == 'p2sr' && github.ref == 'refs/heads/main'"
id: deployment
uses: actions/deploy-pages@v4