Skip to content

Commit

Permalink
Merge pull request #6 from planetarium/feature/github-actions
Browse files Browse the repository at this point in the history
Build and deploy github pages using github actions
  • Loading branch information
U-lis authored Sep 5, 2024
2 parents 8074443 + cddf0d2 commit 3acb1b0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- main

jobs:
push_gh_pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install
run: |
yarn install
- name: Build and Deploy
run: |
yarn build && yarn deploy
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ vite.config.ts.timestamp-*
.DS_Store
# Personal project notes, not my reference.
notes.md

# Visual Studio
.vscode/
6 changes: 0 additions & 6 deletions .vscode/extensions.json

This file was deleted.

0 comments on commit 3acb1b0

Please sign in to comment.