Skip to content

fix: store unedited packages as suggestion cache #1338

fix: store unedited packages as suggestion cache

fix: store unedited packages as suggestion cache #1338

Workflow file for this run

name: Deployments
on:
push:
branches: [main, production]
permissions:
contents: read
jobs:
deploy-environment:
concurrency:
group: deploy-${{ matrix.environment }}
cancel-in-progress: false
runs-on: ubuntu-latest
strategy:
matrix:
include:
- environment: staging
host: tracker-staging.security.nixos.org
branch: main
- environment: production
host: tracker.security.nixos.org
branch: production
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
- name: Trust server public SSH host keys
run: cat ./infra/host_keys >> ~/.ssh/known_hosts
- name: Deploy to ${{ matrix.environment }}
if: github.ref_name == matrix.branch
run: |
nix-build -A ci
result/bin/deploy switch ${{ matrix.host }}