We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58a0a3 commit 1ee3eb1Copy full SHA for 1ee3eb1
.github/workflows/deployments.yaml
@@ -4,6 +4,9 @@ on:
4
branches: [main, production]
5
jobs:
6
deploy-environment:
7
+ concurrency:
8
+ group: deploy-${{ matrix.environment }}
9
+ cancel-in-progress: false
10
runs-on: ubuntu-latest
11
strategy:
12
matrix:
@@ -20,10 +23,9 @@ jobs:
20
23
- uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
21
24
with:
22
25
ssh-private-key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
- - name: Trust staging server public SSH host keys
26
+ - name: Trust server public SSH host keys
27
run: cat ./infra/host_keys >> ~/.ssh/known_hosts
28
- name: Deploy to ${{ matrix.environment }}
- # Only deploy production when on production branch
29
if: github.ref_name == matrix.branch
30
run: |
31
nix-build -A ci
0 commit comments