Skip to content

Deploy assets to aws #1

Deploy assets to aws

Deploy assets to aws #1

Workflow file for this run

name: Deploy To AWS S3
# on:
# push:
# branches:
# - main
on:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set 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-north-1
- name: Deploy to S3
run: aws s3 sync ./logos s3://${{ secrets.S3_BUCKET_NAME }} --delete