Skip to content

This GitHub Action generate static site with jekyll, push it to aws s3 and invalidate cloudfront

License

Notifications You must be signed in to change notification settings

paygoc6/action-jekyll-to-s3-cloudfront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action jekyll to s3 and cloudfront

This GitHub Action generate static site with jekyll, push it to aws s3 and invalidate cloudfront

Example Workflow

    name: Jekyl

    on: push

    jobs:
      pull-request:
        runs-on: ubuntu-latest
        steps:
        - name: Checkout
          uses: actions/checkout@v2

        - name: Jekyll build and deploy
          uses: paygoc6/[email protected]
          env: 
            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
            AWS_REGION: ${{ secrets.AWS_REGION}}
          with:
            AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET}}
            AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}

About

This GitHub Action generate static site with jekyll, push it to aws s3 and invalidate cloudfront

Resources

License

Stars

Watchers

Forks

Packages

No packages published