From 1ee6be4e5c274b89af68a2290a45f7d48a1a5ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 1 Dec 2022 10:47:35 +0100 Subject: [PATCH] Revert "chore(temp): e2e tests run flag" This reverts commit 0e95b451d69eebf26d490a69628d65b4256322f1. --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5dc420b1e..cdfc9ddbf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,20 +50,20 @@ jobs: run: yarn test - name: Login to Docker Hub - if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" + if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Publish SNJS Docker image for E2E testing - if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" + if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" run: | yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }} docker push standardnotes/snjs:${{ github.sha }} - name: Run E2E test suite - if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" + if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" uses: convictional/trigger-workflow-and-wait@v1.6.1 with: owner: standardnotes @@ -85,7 +85,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_TOKEN }} - name: Publish SNJS Docker image as stable - if: "${{ contains(github.event.head_commit.message, 'run e2e') == true }}" + if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}" run: | docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest docker push standardnotes/snjs:latest