From 4d3fe195b6c2295cf648344a96c504b42fe2d4a1 Mon Sep 17 00:00:00 2001 From: James Bligh Date: Tue, 28 Nov 2023 11:54:21 +1100 Subject: [PATCH] Add build workflow --- .github/workflows/deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..4a5bde5 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy to AWS + +on: + push: + branches: + - deploy + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build + uses: actions/setup-node@v1 + with: + node-version: '18.x' + - run: npm install + - run: npm run build + - run: npm run docker-build +