Skip to content

fixing https support + gitignore #30

fixing https support + gitignore

fixing https support + gitignore #30

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