Skip to content

degree role removal #139

degree role removal

degree role removal #139

Workflow file for this run

name: Deploy
on: [push]
jobs:
deploy-main:
if: github.ref == 'refs/heads/main'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Push to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: 22
key: ${{ secrets.SSHKEY }}
script: cd ${{ secrets.PROJECTPATH }} && git checkout -- . && git pull origin main && npm i && pm2 restart roboboi
deploy-canary:
if: github.ref == 'refs/heads/canary'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- name: Push to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: 22
key: ${{ secrets.SSHKEY }}
script: cd ${{ secrets.CANARYPATH }} && git checkout -- . && git pull origin canary && npm i && pm2 restart canaryada