Files
caveman/.github/workflows/deploy-pages.yml
T

42 lines
784 B
YAML

name: Deploy GitHub Pages
on:
push:
branches:
- main
paths:
- docs/**
- .github/workflows/deploy-pages.yml
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: github-pages
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
- name: Deploy GitHub Pages
id: deployment
uses: actions/deploy-pages@v4