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 }}