Skip to content

Commit

Permalink
Initial stab at site build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed May 10, 2024
1 parent 05f0f5a commit a24583a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build site

on:
workflow_dispatch:
push:
paths:
- 'source/**/*'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Installs
run: |
sudo pip3 install markdown
- name: Build site
run: |
cd source
python3 generate.py
cd ..
git status
git acm "Commit build products"
# env: # for gh
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a24583a

Please sign in to comment.