Skip to content

Create publish-to-aws-s3.yml #1

Create publish-to-aws-s3.yml

Create publish-to-aws-s3.yml #1

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: ${{ secrects.AWS_ACCESS_KEY_ID }}

Check failure on line 16 in .github/workflows/publish-to-aws-s3.yml

View workflow run for this annotation

GitHub Actions / Publish Website to AWS S3

Invalid workflow file

The workflow is not valid. .github/workflows/publish-to-aws-s3.yml (Line: 16, Col: 30): Unrecognized named-value: 'secrects'. Located at position 1 within expression: secrects.AWS_ACCESS_KEY_ID .github/workflows/publish-to-aws-s3.yml (Line: 17, Col: 27): Unrecognized named-value: 'secrects'. Located at position 1 within expression: secrects.AWS_SECRET_ACCESS_KEY
aws-access-key: ${{ secrects.AWS_SECRET_ACCESS_KEY }}
- name: Copy to S3
run: aws s3 sync ./www/. s3://danielmichalski-website