diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..1865a6e --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,30 @@ +name: Build and Deploy + +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install and Build + run: | + npm ci + npm run build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: dist diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..86de1e6 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +plakait.stevenhuyn.com \ No newline at end of file