Skip to content

deploy on tag change #13

deploy on tag change

deploy on tag change #13

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to DO
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd /home/vimracing

Check failure on line 21 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-cd.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
git pull
yarn
cd shared
yarn build
cd ../frontend
yarn build
pm2 delete -s vimracing || :
pm2 start --name api.vimracing
cd ../backend
yarn run build
pm2 delete -s api.vimracing || :
pm2 start dist/index.js --name api.vimracing