From 2f7fcdce7eadcef6b2d420daf0bec388d6299b54 Mon Sep 17 00:00:00 2001 From: nicola Date: Mon, 6 Apr 2020 20:02:45 +1000 Subject: [PATCH] Add github action workflow --- .../continuous-deployment-workflow.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/continuous-deployment-workflow.yml diff --git a/.github/workflows/continuous-deployment-workflow.yml b/.github/workflows/continuous-deployment-workflow.yml new file mode 100644 index 0000000..4aefbae --- /dev/null +++ b/.github/workflows/continuous-deployment-workflow.yml @@ -0,0 +1,30 @@ +name: Deployment Workflow + +on: + push: + branches: + - master + paths-ignore: + - README.md + +jobs: + build-and-deploy: + name: Deploy Website + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Install Dependencies + run: yarn + + - name: Deploy + run: yarn deploy