Skip to content

Update routes.rb

Update routes.rb #23

Workflow file for this run

name: staging
on:
push:
branches:
- staging
jobs:
build:
name: staging
runs-on: self-hosted
steps:
- name: ssh
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.STAGING_HOST }}
user: ${{ secrets.STAGING_USERNAME }}
key: ${{ secrets.STAGING_KEY }}
port: ${{ secrets.STAGING_PORT }}
args: "-tt"
command: |
cd /home/deploy/opendsa-devstack/opendsa-lti/
git pull
cd /home/deploy/opendsa-devstack/
docker-compose -f docker-compose.prod.yml --profile staging down
docker-compose -f docker-compose.prod.yml --profile staging up -d