Skip to content

Merge pull request #167 from OpenDSA/splice_embed #32

Merge pull request #167 from OpenDSA/splice_embed

Merge pull request #167 from OpenDSA/splice_embed #32

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