CI: Add screts key
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

This commit is contained in:
Benjamin Renard 2022-04-30 12:17:41 +02:00
parent ccfff0bc31
commit e59ba8a96e
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ pipeline:
- dpkg-buildpackage
- cd ../../
- rm -fr dist/python3-cx-oracle_*_amd64
secrets: [ gpg_key, gpg_name, gpg_email, deb_dist ]
publish-dryrun:
group: publish
@ -62,3 +63,4 @@ pipeline:
APT_SNAP_NAME=$(date +%s)_$APT_REPO_NAME
curl -u $APT_CREDS -X POST -H 'Content-Type: application/json' --data "{\"Name\":\"$APT_SNAP_NAME\"}" $APT_API_URL/repos/$APT_REPO_NAME/snapshots
curl -u $APT_CREDS -X PUT -H 'Content-Type: application/json' --data "{\"Snapshots\": [{\"Component\": \"main\", \"Name\": \"$APT_SNAP_NAME\"}]}" $APT_API_URL/publish/:./$APT_REPO_NAME
secrets: [ apt_api_url, apt_creds, apt_repo_name ]