diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a22172ac..7e5a94cd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: [main, master] pull_request: branches: [main, master] + workflow_dispatch: concurrency: group: ci-${{ github.workflow }}-${{ github.ref }} @@ -26,6 +27,7 @@ jobs: submodules: recursive - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} @@ -79,6 +81,7 @@ jobs: submodules: recursive - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} @@ -120,6 +123,7 @@ jobs: submodules: recursive - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} @@ -209,6 +213,7 @@ jobs: submodules: recursive - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} @@ -380,6 +385,7 @@ jobs: submodules: recursive - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c42cf581..6013511aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,7 @@ jobs: fetch-depth: 0 - name: Configure SSH for cargo git dependencies + if: ${{ secrets.DEPLOY_KEY != '' }} uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.DEPLOY_KEY }}