mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 15:29:07 +01:00
ci: Actually fix rollbacks
This commit is contained in:
parent
3d1e0bb6ac
commit
acc32c0343
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -121,13 +121,11 @@ jobs:
|
|||
if: always() && needs.await-deploy.result == 'failure'
|
||||
needs: [trigger-deploy, await-deploy]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
workflows: write
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.PAT }}
|
||||
- name: Rollback deploy branch
|
||||
run: |
|
||||
previous_sha="${{ needs.trigger-deploy.outputs.previous-sha }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue