Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
deploy to solstice.toplap.org
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Nov 20, 2023
1 parent f835741 commit 80a6e5f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to
FOLDER: public # The folder the action should deploy
CLEAN: true # Automatically remove deleted files from the deploy branch
2 changes: 2 additions & 0 deletions public/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
solstice.toplap.org

0 comments on commit 80a6e5f

Please sign in to comment.