Skip to content

UPDATE: Request from api instead of local files #26

UPDATE: Request from api instead of local files

UPDATE: Request from api instead of local files #26

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
npm install
npm run build
- name: Setup CNAME
run: echo 'mind.ch3nyang.top' > ./build/CNAME
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build