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

Merge pull request #111 from USGS-WiM/dependabot/npm_and_yarn/decode-… #44

Merge pull request #111 from USGS-WiM/dependabot/npm_and_yarn/decode-…

Merge pull request #111 from USGS-WiM/dependabot/npm_and_yarn/decode-… #44

Workflow file for this run

on:
push:
branches:
- master
name: Deploy to Test
jobs:
pushToTest:
name: Push To Test
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/MN-Low-Flow/MN-Low-Flow/build/ s3://test.wim.usgs.gov/MN-Low-Flow/
--recursive
- name: GitHub Action for Slack
uses: Ilshidur/action-slack@a6d9e9ed519555c498265694cf2d7367d9dc6926
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
with:
args: Successfully deployed to test site @ test.wim.usgs.gov/MN-Low-Flow/