From b010a8ce50cd337204809189248467dcd817a814 Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Fri, 3 Nov 2023 13:26:33 +0100 Subject: [PATCH] Fix main. (#138) I missed a couple of things. This is bad. I am fixing them now. --- .github/workflows/e2e-test.yaml | 2 +- ci/deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 296e61476..91f3cacf0 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -27,7 +27,7 @@ jobs: uses: lewagon/wait-on-check-action@v1.3.1 with: ref: "${{ github.event.pull_request.head.sha || github.sha }}" - check-name: "build and deploy (ndc-postgres)" + check-name: "build and deploy" repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Dispatch E2E tests diff --git a/ci/deploy.sh b/ci/deploy.sh index 3181340a9..736142fe8 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -13,7 +13,7 @@ if [[ "${1:-}" == '-n' || "${1:-}" == '--dry-run' ]]; then shift fi -if [[ $# -ne 3 ]]; then +if [[ $# -ne 2 ]]; then echo >&2 "Usage: ${0} [-n|--dry-run] REF IMAGE" echo >&2 echo >&2 ' REF should be in the form "refs/heads/" or "refs/tags/"'