Skip to content

generate random uuid #65

generate random uuid

generate random uuid #65

name: Publish app to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build:prod
- run: |
mv dist/output.html dist/index.html
mv dist/output.html.LICENSE.txt dist/index.html.LICENSE.txt
- uses: actions/upload-pages-artifact@v1
with:
path: dist
- uses: actions/deploy-pages@v1
id: deployment