Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

finished site

finished site #21

Workflow file for this run

name: build app and deploy to gh pages
on:
push:
branches: ["master"]
workflow_dispatch:
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@v3
- name: setup pages
uses: actions/configure-pages@v3
- name: build app
run: |
npm i
npm run build
- name: upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist'
- name: deploy to gh pages
id: deployment
uses: actions/deploy-pages@v2