Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

git pushMerge branch 'main' of https://github.com/SalamLang/Salam-API #8

git pushMerge branch 'main' of https://github.com/SalamLang/Salam-API

git pushMerge branch 'main' of https://github.com/SalamLang/Salam-API #8

Workflow file for this run

on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run and deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd ${{ secrets.SERVER_PATH }}
git fetch --all
git pull
npm run build