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:
|
documentation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: prod
|
needs: [build, deploy] # for ignoring bad builds
|
||||||
needs: build # for ignoring bad builds
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3 # get source
|
- uses: actions/checkout@v3 # get source
|
||||||
@ -118,7 +117,6 @@ jobs:
|
|||||||
|
|
||||||
package:
|
package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: prod
|
|
||||||
needs: [build] # for ignoring bad builds
|
needs: [build] # for ignoring bad builds
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user