-
Notifications
You must be signed in to change notification settings - Fork 413
30 lines (25 loc) · 876 Bytes
/
_apt.yml
File metadata and controls
30 lines (25 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Sync APT repository metadata
run-name: Triggered by ${{ github.actor }}
on:
workflow_dispatch:
workflow_call:
concurrency:
group: "create-apt-repository" # Unique group name to force only a single job at a time.
cancel-in-progress: false
jobs:
create-apt-repository-metadata:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: ./.github/actions/setup-azure-cli
- uses: ./.github/actions/setup-gpg
id: setup-gpg
with:
key: ${{ secrets.APT_REPOSITORY_GPG_KEY }}
email: packages@firezone.dev
- run: scripts/sync-apt.sh
env:
AZURERM_ARTIFACTS_CONNECTION_STRING: ${{ secrets.AZURERM_ARTIFACTS_CONNECTION_STRING }}
GPG_KEY_ID: ${{ steps.setup-gpg.outputs.key_id }}