Skip to content

Add new password route to config route #1

Add new password route to config route

Add new password route to config route #1

Workflow file for this run

name: Backend CI
on:
push:
branches: [ "main" ]
jobs:
build:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Execute Remote SSH Commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /home/backend/forwarder-script/
git reset --hard origin/main
git clean -fd
git pull origin main --force
bun install
bun run update
bun run restart