fix(gh: www): passthrough CLOUDFLARE_* GH secrets into env vars

This commit is contained in:
actionless 2022-06-27 00:03:25 +02:00
parent ded96f3b54
commit 692385f260
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ jobs:
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
env: env:
APIDOC_TOKEN: ${{ secrets.AWESOME_ROBOT_TOKEN || github.token }} APIDOC_TOKEN: ${{ secrets.AWESOME_ROBOT_TOKEN || github.token }}
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_AUTH_EMAIL: ${{ secrets.CLOUDFLARE_AUTH_EMAIL }}
CLOUDFLARE_AUTH_KEY: ${{ secrets.CLOUDFLARE_AUTH_KEY }}
run: | run: |
set -e set -e
commit_hash=$(git rev-parse --short HEAD) commit_hash=$(git rev-parse --short HEAD)