From fa5a423a52a0a689c56e25508de21f22329df1ac Mon Sep 17 00:00:00 2001 From: Jonny McCullagh Date: Mon, 27 Jun 2022 14:37:46 +0100 Subject: [PATCH] WIP: Pipeline for Single Image deploy --- .github/workflows/deploy-single-image.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy-single-image.yml b/.github/workflows/deploy-single-image.yml index 2013b4b58f..cbdc63cb3c 100644 --- a/.github/workflows/deploy-single-image.yml +++ b/.github/workflows/deploy-single-image.yml @@ -9,6 +9,7 @@ on: env: BASE_BRANCH: ${{ github.event.pull_request.base.ref}} BRANCH: ${{ github.event.pull_request.head.ref }} + CI: true DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }} DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }} @@ -37,18 +38,8 @@ jobs: run: yarn lint - name: Run Yarn Build run: yarn build - - run: yarn test - env: - CI: true - name: Budibase CI - test: - name: "test" - runs-on: ubuntu-latest - needs: build - strategy: - matrix: - node-version: [14.x] - steps: + - name: Yarn Test + run: yarn test - name: Test Code Coverage uses: codecov/codecov-action@v1 with: @@ -61,11 +52,6 @@ jobs: with: install: false command: yarn test:e2e:ci - deploy: - name: "deploy" - runs-on: ubuntu-latest - needs: test - steps: - name: Login to Docker Hub run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD