Skip to content

Commit

Permalink
Merge pull request #13 from darjeeling/main
Browse files Browse the repository at this point in the history
add deployment action
  • Loading branch information
darjeeling authored May 28, 2024
2 parents 0238892 + 0f6c3df commit 89cfb27
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Deploy to GitHub Pages

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install Dependencies
run: npm install

- name: Build
run: CI='false' npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build

0 comments on commit 89cfb27

Please sign in to comment.