|
5 | 5 | branches: [main, master] |
6 | 6 | pull_request: |
7 | 7 | branches: [main, master] |
| 8 | + workflow_dispatch: |
8 | 9 |
|
9 | 10 | concurrency: |
10 | 11 | group: ci-${{ github.workflow }}-${{ github.ref }} |
|
26 | 27 | submodules: recursive |
27 | 28 |
|
28 | 29 | - name: Configure SSH for cargo git dependencies |
| 30 | + if: ${{ secrets.DEPLOY_KEY != '' }} |
29 | 31 | uses: webfactory/ssh-agent@v0.9.0 |
30 | 32 | with: |
31 | 33 | ssh-private-key: ${{ secrets.DEPLOY_KEY }} |
|
79 | 81 | submodules: recursive |
80 | 82 |
|
81 | 83 | - name: Configure SSH for cargo git dependencies |
| 84 | + if: ${{ secrets.DEPLOY_KEY != '' }} |
82 | 85 | uses: webfactory/ssh-agent@v0.9.0 |
83 | 86 | with: |
84 | 87 | ssh-private-key: ${{ secrets.DEPLOY_KEY }} |
@@ -120,6 +123,7 @@ jobs: |
120 | 123 | submodules: recursive |
121 | 124 |
|
122 | 125 | - name: Configure SSH for cargo git dependencies |
| 126 | + if: ${{ secrets.DEPLOY_KEY != '' }} |
123 | 127 | uses: webfactory/ssh-agent@v0.9.0 |
124 | 128 | with: |
125 | 129 | ssh-private-key: ${{ secrets.DEPLOY_KEY }} |
@@ -209,6 +213,7 @@ jobs: |
209 | 213 | submodules: recursive |
210 | 214 |
|
211 | 215 | - name: Configure SSH for cargo git dependencies |
| 216 | + if: ${{ secrets.DEPLOY_KEY != '' }} |
212 | 217 | uses: webfactory/ssh-agent@v0.9.0 |
213 | 218 | with: |
214 | 219 | ssh-private-key: ${{ secrets.DEPLOY_KEY }} |
@@ -380,6 +385,7 @@ jobs: |
380 | 385 | submodules: recursive |
381 | 386 |
|
382 | 387 | - name: Configure SSH for cargo git dependencies |
| 388 | + if: ${{ secrets.DEPLOY_KEY != '' }} |
383 | 389 | uses: webfactory/ssh-agent@v0.9.0 |
384 | 390 | with: |
385 | 391 | ssh-private-key: ${{ secrets.DEPLOY_KEY }} |
|
0 commit comments