From 44117d26ba0452c5a9859265e211f3a4ece65649 Mon Sep 17 00:00:00 2001 From: Oliver Ni Date: Sat, 16 Sep 2023 05:43:09 -0700 Subject: [PATCH] Fix ci --- .github/workflows/test_and_deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_deploy.yaml b/.github/workflows/test_and_deploy.yaml index 38330329..750c7a88 100644 --- a/.github/workflows/test_and_deploy.yaml +++ b/.github/workflows/test_and_deploy.yaml @@ -48,6 +48,7 @@ jobs: deploy: needs: test runs-on: ubuntu-latest + # if: success() && github.ref == 'refs/heads/master' environment: name: Production url: https://dev-hkn.eecs.berkeley.edu/ @@ -71,7 +72,7 @@ jobs: - name: Unseal secrets uses: jrmcdonald/blackbox-github-actions@v0.2.0 with: - bb_actions_subcommand: "decrypt_all_files" + bb_actions_subcommand: "postdeploy" env: BLACKBOX_PUBKEY: ${{ secrets.BLACKBOX_PUBLIC_KEY }} BLACKBOX_PRIVKEY: ${{ secrets.BLACKBOX_PRIVATE_KEY }}