Skip to content

Commit

Permalink
Merge pull request #753 from Permify/github-actions
Browse files Browse the repository at this point in the history
feat: DEST_DIR added
  • Loading branch information
tolgaOzen authored Oct 6, 2023
2 parents 9a85afc + 5e356dd commit df885af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
yarn build
- name: Deploy to S3
uses: jakejarvis/s3-sync-action@v0.5.1
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
source_dir: docs/build/
destination_dir: /
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'
SOURCE_DIR: 'docs/build/'
DEST_DIR: '/'

- name: Invalidate CloudFront Distribution
uses: chetan/invalidate-cloudfront-action@master
Expand Down

0 comments on commit df885af

Please sign in to comment.