Fixed danger border color. #12
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: CI | |
on: | |
push: | |
branches: | |
- main #here we choose to deploy only when a push is detected on the main branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- 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: us-east-1 # Use your bucket region here | |
# Here you could add some building steps if you were dealing with some angular/react/Vue... | |
# - name: Build static site | |
# run: yarn install && npm run-script build | |
- name: Deploy static site to S3 bucket | |
run: aws s3 sync ./claroalter_base/css/ s3://dh-drupal/claroalter/css --delete | |
# --delete flag will remove any file in the s3 that are not on the "thefoldertodeploy" folder |