Skip to content

Updated as of November 03, 2024 - 02:15 PM CST -0600 #129185

Updated as of November 03, 2024 - 02:15 PM CST -0600

Updated as of November 03, 2024 - 02:15 PM CST -0600 #129185

Workflow file for this run

# 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