Merge pull request #217 from kyungwan2023F/update-course-offerings-api #75
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |