diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..2136b91 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 0000000..c209eb7 --- /dev/null +++ b/public/CNAME @@ -0,0 +1,2 @@ +solstice.toplap.org +