Skip to content

upgrade: tw core 5.3.5 #17

upgrade: tw core 5.3.5

upgrade: tw core 5.3.5 #17

Workflow file for this run

name: Deploy Tiddlywiki To Github Pages
on:
push:
branches:
- master
- main
jobs:
deploy:
permissions:
contents: write
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v2-beta
with:
node-version: '16'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
**/node_modules
~/.pnpm-store
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install -g pnpm && npm install -g rimraf && pnpm install
- name: Install gulp-tw
run: |
cd ~
git clone https://github.com/FSpark/gulp-tw
- name: Link gulp-tw
run: |
pnpm link ~/gulp-tw
- name: Build Library and static website
run: |
pnpm run build:HTML
pnpm run build:library
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
force_orphan: true