From ffc79c1bc9a8f18e844df19dfa767010e9171a2b Mon Sep 17 00:00:00 2001 From: AJ Rice <53190766+ajrice6713@users.noreply.github.com> Date: Mon, 31 Oct 2022 11:29:15 -0400 Subject: [PATCH] Conform to new GHA env format (#804) --- .github/workflows/pr-publish-docsite.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr-publish-docsite.yml b/.github/workflows/pr-publish-docsite.yml index ea57e48f8..8e4f40c25 100644 --- a/.github/workflows/pr-publish-docsite.yml +++ b/.github/workflows/pr-publish-docsite.yml @@ -83,7 +83,7 @@ jobs: BUCKET_NAME=bw-api-docs-${GITHUB_HEAD_REF#refs/heads/} BUCKET_NAME=$(echo "$BUCKET_NAME" | tr '[:upper:]' '[:lower:]') #convert to lowercase for AWS bucket (can't be uppercase) BUCKET_NAME=$(echo "$BUCKET_NAME" | sed -e "s/[^a-z0-9]/-/g") #replace all remaining non alphanumerics with - - echo $BUCKET_NAME >> $GITHUB_ENV + echo "BUCKET_NAME=$BUCKET_NAME" >> $GITHUB_ENV - name: Sync S3 Bucket uses: Bandwidth/s3-sync-action@v1.3.0 @@ -93,8 +93,6 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} content-path: ./site/build - env: - GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} - name: Create Cloudfront distribution id: distribution