Skip to content

Serendipity-AI/github-actions-s3-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Upload / CloudFront invalidate

Github Action to Upload to S3 Bucket and invalidate a CloudFront distribution

name: Upload
on: push
jobs:
  upload:
    runs-on: ubuntu-latest
    steps:
      - name: Initializing action
        uses: actions/checkout@master

      - name: Upload
      - uses: serendipity-ai/github-actions-s3-upload@master
        with:
          SRC: "./dist"
          DEST: "./"
          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
          AWS_REGION: ${{ secrets.AWS_REGION }}
          AWS_SECRET_ID: ${{ secrets.AWS_SECRET_ID }}
          AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
          AWS_DISTRIBUTION_ID: ${{ secrets.AWS_DISTRIBUTION_ID}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published