Skip to content

Commit

Permalink
add deploy site workflow (not working yet)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Brue <[email protected]>
  • Loading branch information
ryanabx committed Aug 20, 2024
1 parent 65925f7 commit e36f075
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy Static Site

on:
push:
branches:
- master # Run the action on pushes to the main branch

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Cargo
run: sudo apt-get install cargo

- name: Install djot-ssg
run: cargo install djot-ssg

- name: Generate static site
run: ./build-site.sh # Replace with your build command

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public # Replace with your output directory

0 comments on commit e36f075

Please sign in to comment.