We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb04de8 commit a7159c9Copy full SHA for a7159c9
.github/workflows/build_and_deploy.yml
@@ -28,5 +28,19 @@ jobs:
28
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29
- name: Build website
30
run: bundle exec middleman build
31
- - name: Make docs
+ - name: Build documentation
32
run: make docs
33
+ - name: Deploy
34
+ if: ${{ github.ref == 'refs/heads/master' }}
35
+ env:
36
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
37
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
38
+ uses: reggionick/s3-deploy@v3
39
+ with:
40
+ folder: build
41
+ bucket: ${{ vars.AWS_S3_BUCKET }}
42
+ bucket-region: ${{ vars.AWS_S3_BUCKET_REGION }}
43
+ delete-removed: true
44
+ no-cache: true
45
+ private: true
46
+ files-to-include: ".*/*,*/*,**"
0 commit comments