2023-04-14 16:39:05 +02:00
|
|
|
name: OcttKB
|
|
|
|
|
|
|
|
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 git wget npm python3 python3-pip
|
|
|
|
sudo npm install -g tiddlywiki
|
|
|
|
sudo pip3 install beautifulsoup4 html5lib
|
|
|
|
bash ./Bootstrap.sh
|
2023-06-09 00:16:37 +02:00
|
|
|
bash ./Deploy.Main.sh
|
2023-04-14 16:39:05 +02:00
|
|
|
|
|
|
|
- name: Deploy
|
|
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
|
|
with:
|
|
|
|
folder: public
|