Skip to content

Create release for v3.5.4 (#1279) #261

Create release for v3.5.4 (#1279)

Create release for v3.5.4 (#1279) #261

# 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: [16.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