Skip to content
Discussion options

You must be logged in to vote

This is now available. Hope you enjoy! It was fun to work on this feature for you all.

Use deployment: false

jobs:
  test:
    runs-on: ubuntu-latest
    environment:
      name: staging
      deployment: false
    steps:
      - run: echo "Staging secrets accessible, no deployment created"
        env:
          API_KEY: ${{ secrets.API_KEY }}

What's not compatible: custom deployment protection rule apps (job will fail — remove deployment: false or the custom rule).

Docs:

Replies: 99 comments 54 replies

Comment options

You must be logged in to vote
4 replies
@connor-luna
Comment options

@thiswallz
Comment options

@connor-luna
Comment options

@thiswallz
Comment options

Comment options

You must be logged in to vote
2 replies
@CodingLife1024
Comment options

@Blitheness
Comment options

Comment options

You must be logged in to vote
3 replies
@jackmpcollins
Comment options

@kennethjmyers
Comment options

@akwodkiewicz
Comment options

Comment options

You must be logged in to vote
1 reply
@tinogo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Kolahzary
Comment options

@ilmax
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dkowalcz-sec
Comment options

@Tsingis
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@ilmax
Comment options

@cnnranderson
Comment options

@jarpoole
Comment options

@dumptruckman
Comment options

@nebuk89
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@salmanmkc
Comment options

@bruce-szalwinski-he
Comment options

@luisdibdin
Comment options

@alekc
Comment options

@christhebatchelor
Comment options

Answer selected by salmanmkc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback Share your thoughts and suggestions on GitHub features and improvements In Backlog GitHub is aware of this and it's in the backlog