mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
CI: use dedicated deploy environments
This commit is contained in:
parent
4659ab8408
commit
44fcd688ad
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -150,6 +150,7 @@ jobs:
|
|||
# Separate from everything else because slow.
|
||||
build-and-deploy-docker:
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && github.event_name == 'push'
|
||||
environment: deploy-docker
|
||||
needs: [test, test-web-ui, build-wheel]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
|
@ -171,6 +172,7 @@ jobs:
|
|||
|
||||
deploy:
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && github.event_name == 'push'
|
||||
environment: deploy
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test, test-web-ui, build-wheel, build-binaries]
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue