gh workflow correction

This commit is contained in:
Salar Rahmanian 2020-09-06 22:46:15 -07:00
parent 396ea4e888
commit 25411fbb55

View file

@ -20,12 +20,15 @@ jobs:
hugo-version: '0.74.2' hugo-version: '0.74.2'
extended: true extended: true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Hugo Build - name: Hugo Build
run: hugo --minify run: hugo --minify
- name: Deploy - name: Deploy to S3
uses: peaceiris/actions-gh-pages@v3 run: hugo deploy --maxDeletes -1 --invalidateCDN
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: www.softinio.com