OcttKB/.github/workflows/main.yml

30 lines
533 B
YAML
Raw Normal View History

2022-09-20 18:01:57 +02:00
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
2022-09-22 17:33:09 +02:00
sudo apt install -y wget npm
2022-09-20 18:01:57 +02:00
sudo npm install -g tiddlywiki
./Build.sh
2022-09-22 17:58:44 +02:00
./DeployOld.sh
2022-09-20 18:01:57 +02:00
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: public