Skip to content

zig 0.14.0-dev.1710+8ee52f99c #81

zig 0.14.0-dev.1710+8ee52f99c

zig 0.14.0-dev.1710+8ee52f99c #81

Workflow file for this run

name: Generate a www build and push to gh-page
permissions: write-all
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: git-checkout
uses: actions/checkout@v4
- name: ts-lib/Install all dependencies
working-directory: ./ts-lib
run: npm ci
- name: ts-lib/Build
working-directory: ./ts-lib
run: npm run build
- name: www/Install all dependencies
working-directory: ./www
run: npm i
- name: www/Build
working-directory: ./www
run: npm run build
- name: Copy index.html to 404.html
working-directory: ./www
run: cp dist/index.html dist/404.html
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: www/dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"