mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2024-12-23 13:30:27 +01:00
31 lines
558 B
YAML
31 lines
558 B
YAML
name: Build and Deploy with TiddlyWiki
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
page_build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install -y wget npm
|
|
sudo npm install -g tiddlywiki
|
|
./Bootstrap.sh
|
|
#./Build.sh
|
|
#./DeployOld.sh
|
|
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
folder: public
|