Skip to content

Commit

Permalink
Create publish-to-aws-s3.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMichalski authored Dec 2, 2024
1 parent 4b65611 commit 5dceca7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-to-aws-s3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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 }}
aws-access-key: ${{ secrects.AWS_SECRET_ACCESS_KEY }}
- name: Copy to S3
run: aws s3 sync ./www/. s3://danielmichalski-website

0 comments on commit 5dceca7

Please sign in to comment.