* chore: move to environment secrets * fix: secrets based on feedback * fix: name of token * fix: add 'promote' environment * ci: change unit test format
23 lines
467 B
YAML
23 lines
467 B
YAML
name: promote
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 1 * *'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
release:
|
|
name: promote
|
|
runs-on: ubuntu-latest
|
|
environment: promote
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
ref: master
|
|
token: ${{ secrets.PROMOTE_TOKEN }}
|
|
- uses: fregante/setup-git-user@v2
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
- run: make promote
|