summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@users.noreply.github.com>2023-01-01 11:07:34 +0000
committerPradyun Gedam <pradyunsg@users.noreply.github.com>2023-01-01 11:07:34 +0000
commit450b361d21fe8d9d44d7b14762399d74553ef276 (patch)
treea436139d80378c22913e65a56ad188d596000c3f /.github
parent5427bc56b554923b2ef7d3e3a9d36184940630e8 (diff)
downloadpip-450b361d21fe8d9d44d7b14762399d74553ef276.tar.gz
Add an environment containing the secret token
This ensures that we only expose the token to this one job on `main`.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-rtd-redirects.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/update-rtd-redirects.yml b/.github/workflows/update-rtd-redirects.yml
index 8a300d06f..8259b6c0b 100644
--- a/.github/workflows/update-rtd-redirects.yml
+++ b/.github/workflows/update-rtd-redirects.yml
@@ -16,6 +16,7 @@ concurrency:
jobs:
update-rtd-redirects:
runs-on: ubuntu-latest
+ environment: RTD Deploys
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4