-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 686 Bytes
/
Copy pathdeploy.yml
File metadata and controls
29 lines (25 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
- name: Install and Build 🔧
run: |
yarn install --frozen-lockfile
GITHUB_PAGES=true yarn run export
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: out # The folder the action should deploy.