mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
use secrets from gh "workflows" environment
This commit is contained in:
2
.github/workflows/staging.yml
vendored
2
.github/workflows/staging.yml
vendored
@@ -10,6 +10,7 @@ permissions:
|
||||
jobs:
|
||||
checksecret:
|
||||
name: check if deploy secret is present
|
||||
environment: workflows
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
deploy_secret_present: ${{ steps.checksecret_job.outputs.deploy_secret_present }}
|
||||
@@ -25,6 +26,7 @@ jobs:
|
||||
needs: [checksecret]
|
||||
if: needs.checksecret.outputs.deploy_secret_present == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
environment: workflows
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user