Custom deploy script with LFS support

This commit is contained in:
Djuri Baars 2024-06-29 16:59:38 +02:00
parent 59c5db6622
commit d3607ec0a6

24
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,24 @@
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