mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 01:29:48 +00:00
CI: use dedicated deploy environments
This commit is contained in:
parent
4659ab8408
commit
44fcd688ad
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…
Reference in New Issue
Block a user