1
0
Fork 0
mirror of https://github.com/kou029w/pucchinglgl.git synced 2025-04-11 23:16:26 +00:00
pucchinglgl/.github/workflows/github-pages.yml
2022-08-01 19:12:57 +00:00

23 lines
515 B
YAML

name: github-pages
on:
push:
branches: [master]
jobs:
main:
permissions:
pages: write
id-token: write
environment: github-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with: { node-version: lts/*, cache: yarn }
- name: Build
run: |
yarn install
yarn build
- uses: actions/upload-pages-artifact@v1
with:
path: build
- uses: actions/deploy-pages@v1