build(push-main): use forgejo secret token directly
All checks were successful
Rust / build (push) Successful in 2m27s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 51s

This commit is contained in:
Paul Campbell 2024-08-04 16:22:54 +01:00
parent 3895246b72
commit d63b712007

View file

@ -24,14 +24,12 @@ jobs:
- name: Run release-plz release-pr - name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2 uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2
with: with:
args: release-plz release-pr --backend gitea --git-token ${GITHUB_TOKEN} args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env: env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release - name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2 uses: https://git.kemitix.net/kemitix/rust@v1.80.0-2
with: with:
args: release-plz release --backend gitea --git-token ${GITHUB_TOKEN} args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env: env:
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}