Skip to content

Merge pull request #377 from vseryakov/master #441

Merge pull request #377 from vseryakov/master

Merge pull request #377 from vseryakov/master #441

Workflow file for this run

name: Publish former2.com
on:
push:
branches: [ master ]
jobs:
deploy:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS creds
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.FORMER2_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.FORMER2_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Copy files to origin S3 bucket
run: |
aws s3 cp --cache-control max-age=300 --recursive . s3://former2.com/ --exclude ".git/*" --exclude "cli/*" --exclude ".*" --exclude "notes.txt" --exclude "*.md" --exclude "Dockerfile" --exclude "LICENSE" --exclude "*.yml" --exclude ".gitignore" --exclude "util/*" --exclude "lib/*"