Merge pull request #2048 from aluzzardi/ci-autorelease-fix-secrets

ci: fix auto-release secrets
This commit is contained in:
Gerhard Lazu 2022-04-05 19:03:24 +01:00 committed by GitHub
commit 328e6d1c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ on:
# https://crontab.guru/#6_17_*_*_2 # https://crontab.guru/#6_17_*_*_2
# Every Tuesday at 5:06pm UTC & 9:06am US West Coast. # Every Tuesday at 5:06pm UTC & 9:06am US West Coast.
# GitHub Actions defaults to UTC: # GitHub Actions defaults to UTC:
- cron: '6 17 * * 2' - cron: "6 17 * * 2"
# There is high load on GitHub Actions at the top of the hour: # There is high load on GitHub Actions at the top of the hour:
# #
# Note: The schedule event can be delayed during periods of high loads of # Note: The schedule event can be delayed during periods of high loads of
@ -24,11 +24,11 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
release_type: release_type:
description: 'major|minor|patch|release|prerel' description: "major|minor|patch|release|prerel"
default: 'patch' default: "patch"
required: true required: true
release_version: release_version:
description: 'Optional release version, e.g. 0.2.0' description: "Optional release version, e.g. 0.2.0"
required: false required: false
jobs: jobs:
@ -88,7 +88,7 @@ jobs:
with: with:
args: release --rm-dist --debug args: release --rm-dist --debug
env: env:
GITHUB_TOKEN: ${{ secrets.DAGGERCI_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_DAGGER_CI_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.RELEASE_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.RELEASE_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1 AWS_REGION: us-east-1