add environment to workflows (#4721)

this should fix the problem where the secrets are not available in the
workflow
https://github.com/tuskyapp/Tusky/actions/runs/11276192946/job/31362570493
This commit is contained in:
Konrad Pozniak 2024-10-10 20:13:28 +02:00 committed by GitHub
parent b167ac8fcc
commit 0261788a67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: check-and-build
environment: Release
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@ -13,6 +13,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: check-and-build
environment: Test
steps:
- name: Checkout
uses: actions/checkout@v4