only deploy uses prod env
This commit is contained in:
parent
1667e23d7a
commit
6a17775f07
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -60,8 +60,7 @@ jobs:
|
||||
|
||||
documentation:
|
||||
runs-on: ubuntu-latest
|
||||
environment: prod
|
||||
needs: build # for ignoring bad builds
|
||||
needs: [build, deploy] # for ignoring bad builds
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v3 # get source
|
||||
@ -118,7 +117,6 @@ jobs:
|
||||
|
||||
package:
|
||||
runs-on: ubuntu-latest
|
||||
environment: prod
|
||||
needs: [build] # for ignoring bad builds
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user