mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-24 13:49:40 +00:00
ci: test docs deployment from actions-hardening branch
This commit is contained in:
parent
773e0e6f40
commit
30cfb7a814
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -120,7 +120,7 @@ jobs:
|
||||
name: web
|
||||
|
||||
docs:
|
||||
if: github.repository != 'mitmproxy/mitmproxy' || github.ref != 'refs/heads/main'
|
||||
if: github.repository != 'mitmproxy/mitmproxy' || github.ref != 'refs/heads/actions-hardening'
|
||||
# mirrored below >>>
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -143,7 +143,7 @@ jobs:
|
||||
# so we make sure to really pin everything here.
|
||||
|
||||
deploy-docs:
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && github.ref == 'refs/heads/main'
|
||||
if: github.repository == 'mitmproxy/mitmproxy' && github.ref == 'refs/heads/actions-hardening'
|
||||
environment: deploy-docs
|
||||
# mirrored above >>>
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -5,7 +5,7 @@ set -o pipefail
|
||||
set -o nounset
|
||||
# set -o xtrace
|
||||
|
||||
if [[ $GITHUB_REF != "refs/heads/main" ]]; then
|
||||
if [[ $GITHUB_REF != "refs/heads/actions-hardening" ]]; then
|
||||
echo "Looks like we are not running on CI."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user