From 94fd4a0a152282e500f7a7ef9ffadb1d45f475db Mon Sep 17 00:00:00 2001 From: SondreB Date: Tue, 11 Jun 2024 14:48:09 +0200 Subject: [PATCH] Add GitHub Action --- .github/workflows/deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..dd95d856 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + + - name: Install dependencies + run: npm ci + + - name: Run deploy script + run: npm run deploy \ No newline at end of file