Skip to content

standardising error messages #18

standardising error messages

standardising error messages #18

Workflow file for this run

name: Deploy static content to GitHub Pages
on:
push:
tags:
- 'v*'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare pages directory
run: |
cp scripts/install/* pages/
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Build WASM to pages directory
run: |
mkdir -p pages/wasm
GOOS=js GOARCH=wasm go build -o pages/wasm/xipher.wasm ./app/wasm
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" pages/wasm/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4