Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Fixing new version conflicts #33

Fixing new version conflicts

Fixing new version conflicts #33

# on:
# push:
# branches:
# - master
# name: "Production"
# jobs:
# pushToProd:
# name: Push to PRODUCTION
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - name: Set Up Node
# uses: actions/setup-node@v1
# with:
# node-version: '10.15'
# - run: npm run-script build
# - 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-2
# - run: aws s3 cp /home/runner/work/WIM-Main-Site/WIM-Main-Site/builds/production/ s3://wim.usgs.gov/ --recursive
# - name: AWS Prod Failure
# if: failure()
# uses: Ilshidur/action-slack@2a8ddb6db23f71a413f9958ae75bbc32bbaa6385
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# with:
# args: ":warning::production: Error deploying *wim-main-site* to wim.usgs.gov - GitHub Action Failed"
# - name: GitHub Action for Slack
# uses: Ilshidur/action-slack@2a8ddb6db23f71a413f9958ae75bbc32bbaa6385
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# with:
# args: ":production: Successfully deployed *wim-main-site* to wim.usgs.gov :fire:"