From 686cb46af3225fe2de6304b8ec8a13384b1bcf01 Mon Sep 17 00:00:00 2001 From: Weaver Goldman Date: Sat, 16 Dec 2023 14:54:17 -0500 Subject: [PATCH] Add github action for github pages deployment. --- .github/workflows/build-and-deploy.yml | 19 +++++++++++++++++++ package.json | 3 +++ style.css | 1 + 3 files changed, 23 insertions(+) create mode 100644 .github/workflows/build-and-deploy.yml diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml new file mode 100644 index 0000000..30fbd5d --- /dev/null +++ b/.github/workflows/build-and-deploy.yml @@ -0,0 +1,19 @@ +name: Build and Deploy +on: [push] +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.1 + + - name: Install and Build + run: | + npm ci + npm run build + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.1 + with: + branch: gh-pages + folder: dist + diff --git a/package.json b/package.json index 7caccf2..6df7b90 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,8 @@ { "name": "slam-maze-explorer", + "author": "Weaver Goldman", + "license": "MIT", + "private": true, "version": "0.0.0", "type": "module", "scripts": { diff --git a/style.css b/style.css index fe82b00..95fa786 100644 --- a/style.css +++ b/style.css @@ -194,6 +194,7 @@ h1 { padding: 0 0.3rem; font-family: "Space Mono"; user-select: none; + margin-right: 0.2rem; } .color-pill {