Skip to content

Update publish-to-aws-s3.yml #2

Update publish-to-aws-s3.yml

Update publish-to-aws-s3.yml #2

on: push
name: Publish Website to AWS S3
jobs:
FTP-Deploy-Action:
name: AWS-S3-Deploy-Action
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 2
- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Copy to S3
run: aws s3 sync ./www/. s3://danielmichalski-website