Skip to content

Commit

Permalink
Add github action for github pages deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
We-Gold committed Dec 16, 2023
1 parent 599ee25 commit 686cb46
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "slam-maze-explorer",
"author": "Weaver Goldman",
"license": "MIT",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ h1 {
padding: 0 0.3rem;
font-family: "Space Mono";
user-select: none;
margin-right: 0.2rem;
}

.color-pill {
Expand Down

0 comments on commit 686cb46

Please sign in to comment.