Skip to content

Commit

Permalink
Set up github page build as actions
Browse files Browse the repository at this point in the history
- Allows manual re-build; this prevents the page from rebuilding when
  not necessary.
  • Loading branch information
Damian-Oswald committed Feb 28, 2025
1 parent fc4e191 commit 3436d6a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy GitHub Page

on:
workflow_dispatch: # Allows manual triggering from the Actions tab

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3

# Add steps here to build your site, e.g., install dependencies, build static files

- name: Deploy to GitHub Page
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public # Adjust based on your build output directory

0 comments on commit 3436d6a

Please sign in to comment.