Skip to content

Merge pull request #25 from coderefinery/sound-off-default-2025 #13

Merge pull request #25 from coderefinery/sound-off-default-2025

Merge pull request #25 from coderefinery/sound-off-default-2025 #13

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Copy website
run: |
mkdir -p _site/
rsync -a --copy-unsafe-links CNAME web/ _site/
- uses: actions/upload-pages-artifact@main
with:
path: _site/
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: github-pages
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action