24 lines
589 B
YAML
24 lines
589 B
YAML
name: Deploy GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main # Change this to your default branch
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pages: write # to deploy to Pages
|
|
id-token: write # to verify the deployment originates from an appropriate source
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
lfs: true # Fetch LFS files
|
|
- uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: .
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|