Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Conform to new GHA env format (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrice6713 authored Oct 31, 2022
1 parent b8b5b73 commit ffc79c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pr-publish-docsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
Expand Down

0 comments on commit ffc79c1

Please sign in to comment.