Add/Update MDFC Legend Crowns #7
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: publish | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: us-east-1 | |
role-to-assume: arn:aws:iam::353102230615:role/cardconjurer-publish | |
- name: Restore file timestamps | |
uses: chetan/git-restore-mtime-action@v2 | |
- name: Sync files to the S3 bucket | |
run: | | |
aws s3 sync --exclude '.git/*' --delete ./ s3://cardconjurer.app/ |