Skip to content

Build and Deploy TiddlyWiki Links #88888

Build and Deploy TiddlyWiki Links

Build and Deploy TiddlyWiki Links #88888

Workflow file for this run

name: Build and Deploy TiddlyWiki Links
on:
push:
branches:
- main
tags:
- "*"
schedule:
- cron: '*/17 * * * *'
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4.1.1
with:
persist-credentials: false
- name: Install dependencies
run: npm install
- name: Run Tests
run: npm test
- name: Build Site
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.4