Skip to content

When loading fails, which can happen for many reasons, show retry but… #2

When loading fails, which can happen for many reasons, show retry but…

When loading fails, which can happen for many reasons, show retry but… #2

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Copy index.html to 404.html
run: cp dist/angor-hub/browser/index.html dist/angor-hub/browser/404.html
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist/angor-hub/browser'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2