Skip to content

Commit

Permalink
Refines Github deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrkupton committed May 2, 2024
1 parent 781d4ab commit 9dc577e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
echo "S3_DEST_DIR='/DRY_RUN/'" >> "${GITHUB_ENV}"
fi
- name: Post to Slack
uses: act10ns/[email protected]
with:
status: Starting
channel: ${{ vars.SLACK_MONITORING_CHANNEL }}

- name: Checkout the repository
uses: actions/checkout@v4

Expand All @@ -54,7 +60,7 @@ jobs:
- name: Printout vars
if: ${{ vars.DEPLOY_DEBUG == 1 }}
run: |
du
du ./components
- name: Run Percy Tests
if: ${{ vars.RUN_PERCY == 1 }}
Expand All @@ -74,7 +80,7 @@ jobs:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ env.BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-2'
SOURCE_DIR: 'public'
Expand Down

0 comments on commit 9dc577e

Please sign in to comment.