From cb23d65d8d1e5f89a968fc2b4d431a727b96c0ce Mon Sep 17 00:00:00 2001 From: Eddy Filip Date: Tue, 3 Aug 2021 19:23:44 +0200 Subject: [PATCH] Add missing config for tests --- .github/workflows/test.yml | 1 + entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdf0213..a86e0df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ jobs: - name: Configure 1Password Connect uses: ./configure # 1password/load-secrets-action/configure@ with: + use-connect: yes connect-host: http://localhost:8080 connect-token: ${{ secrets.OP_CONNECT_TOKEN }} - name: Load secrets diff --git a/entrypoint.sh b/entrypoint.sh index fa402d5..0ac072c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,7 +3,7 @@ set -e # Install op-cli -$(curl -sSfLo op.zip "https://drive.google.com/uc?export=download&id=1HRAsihTN0Cx0pWZEWN06jAWxo0eW5eG-") +curl -sSfLo op.zip "https://drive.google.com/uc?export=download&id=1HRAsihTN0Cx0pWZEWN06jAWxo0eW5eG-" unzip -od /usr/local/bin/ op.zip && rm op.zip if [ -z "$USE_CONNECT" ]; then