fix: clean up #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- test-acc-id | |
jobs: | |
test-acc-id: | |
name: test acc id | |
runs-on: ubuntu-20.04 | |
steps: | |
- 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: eu-central-1 | |
- name: get accid | |
run: | | |
aws cloudfront list-distributions | |
aws cloudfront create-invalidation --distribution-id E1FGAIJYTC7KAM --paths "/index.html" | |