Skip to content

github workflows deploy #1

github workflows deploy

github workflows deploy #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
npm i
cd test
npm i
cd ..
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
single-commit: true