Skip to content

Deploy on prod.td.org.uit.no #46

Deploy on prod.td.org.uit.no

Deploy on prod.td.org.uit.no #46

name: Deploy on prod.td.org.uit.no
# Ignore error below
on:
workflow_run:
workflows: ["Build and push docker image"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: SSH into server and launching update script
uses: appleboy/ssh-action@master
with:
host: prod.td.org.uit.no
username: ${{ secrets.PROD_SERVER_USERNAME }}
password: ${{ secrets.PROD_SERVER_PASSWORD }}
script: ./pull-latest-api.sh