From 9d5c9eae81d7266fb308f2eb925f2322e68e2070 Mon Sep 17 00:00:00 2001 From: Jorens Merenjanu Date: Fri, 27 Dec 2024 18:32:56 +0200 Subject: [PATCH] Create pages --- .github/workflows/pages | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pages diff --git a/.github/workflows/pages b/.github/workflows/pages new file mode 100644 index 0000000..b3e6ba1 --- /dev/null +++ b/.github/workflows/pages @@ -0,0 +1,20 @@ +name: Build and Deploy +on: [push] +permissions: + contents: write +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v4 + + - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. + run: | + npm ci + npm run build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: dist # The folder the action should deploy.