Skip to content

Create release for v3.5.3 #9

Create release for v3.5.3

Create release for v3.5.3 #9

# The Purpose of this workflow file is to enable us to
# automatically deploy the app based on the latest
# commit on the staging repo.
name: Staging Deployment
on:
push:
branches: [master]
jobs:
deploy_web:
if: ${{ github.repository == 'CATcher-org/CATcher-staging' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Deploy on Staging Website
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run deploy:staging -- --repo=https://x-access-token:[email protected]/CATcher-org/CATcher-staging.git