Updated as of November 24, 2024 - 06:53 AM CST -0600 #136554
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple workflow for deploying static content to GitHub Pages | |
# Reference: https://github.com/actions/starter-workflows/blob/main/pages/static.yml | |
# To override default page build: Settings -> Pages -> Source -> GitHub Actions (Instead of Deploy from a branch) | |
# To enable github-pages on docs branch: Settings -> Environments -> github-pages -> Add 'docs' to allowed | |
name: Deploy static content to Pages | |
on: | |
# Runs on push targeting the docs branch | |
push: | |
branches: | |
- docs | |
# Run this workflow only when changes are found in 'docs' directory | |
paths: | |
- docs/* | |
# Run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# Block all concurrent deployments | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
# Single deploy job since this is just deploying | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
# runners on macOS need 'brew install gnu-tar' | |
runs-on: thevickypedia-performance | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload docs directory where index.html is present | |
path: 'docs/' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |