From 44fcd688ad82c8777730625bad85e76a49797c22 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 15 Apr 2021 15:45:52 +0200 Subject: [PATCH] CI: use dedicated deploy environments --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76edc5ed7..c2fbad094 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: