Skip to content

tracking data.json

tracking data.json #31

Workflow file for this run

on:
push:
branches:
- main
workflow_run:
workflows: ["run-tests.yml"]
types:
- completed
name: deploy
jobs:
build:
name: Run Deploy Script on EC2
runs-on: ubuntu-latest
steps:
- name: Execute pull scripts on EC2
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.AWS_HOST }}
username: ${{ secrets.AWS_USERNAME }}
key: ${{ secrets.AWS_KEY }}
script: |
cd byte-server
pm2 stop server.ts
git pull
bun install
pm2 start server.ts