Skip to content

Commit

Permalink
Create DeployS3Prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tzafrirhn authored Feb 15, 2024
1 parent c7b1683 commit 4269340
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/DeployS3Prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy to AWS S3 - Prod
on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- 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: Deploy static site to S3 bucket
run: aws s3 sync ./webroot/core s3://igpublisher-static-prod --delete

0 comments on commit 4269340

Please sign in to comment.