Skip to content

Commit

Permalink
Merge pull request #89 from trilitech/update-staging-base-path
Browse files Browse the repository at this point in the history
Update the base path for staging
  • Loading branch information
johnjoubert authored Jul 14, 2023
2 parents f90e1f7 + ddac3c2 commit 28d5616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ staging ]
env:
NEXT_PUBLIC_BASE_PATH: /developers/docs
NEXT_PUBLIC_BASE_PATH: ''
NEXT_PUBLIC_DOCSEARCH_APP_ID: ${{ secrets.NEXT_PUBLIC_DOCSEARCH_APP_ID }}
NEXT_PUBLIC_DOCSEARCH_API_KEY: ${{ secrets.NEXT_PUBLIC_DOCSEARCH_API_KEY }}
NEXT_PUBLIC_DOCSEARCH_INDEX_NAME: ${{ secrets.NEXT_PUBLIC_DOCSEARCH_INDEX_NAME }}
Expand All @@ -25,4 +25,4 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_S3_STAGE_SECRET }}
aws-region: eu-west-1
- run: aws s3 sync ./out ${{ secrets.AWS_S3_STAGE_PATH }}
- run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_STAGE }} --paths '/developers/docs/*'
- run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_STAGE }} --paths '/*'

0 comments on commit 28d5616

Please sign in to comment.