Skip to content

Revert to old api path #28

Revert to old api path

Revert to old api path #28

Workflow file for this run

name: VCS Production Deployment
on:
push:
branches:
- master
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Secure Copy Repository
uses: appleboy/scp-action@master
with:
host: ${{ secrets.DEPLOY_SSH_HOST }}
username: ${{ secrets.DEPLOY_SSH_USERNAME }}
port: ${{ secrets.DEPLOY_SSH_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
overwrite: true
tar_tmp_path: "/home/souch/tmp/"
source: "src/,public/,index.html,package.json,package-lock.json,tsconfig.json,tsconfig.node.json,vite.config.ts"
target: "/home/souch/html/souchca"
- name: Run Deploy Script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEPLOY_SSH_HOST }}
username: ${{ secrets.DEPLOY_SSH_USERNAME }}
port: ${{ secrets.DEPLOY_SSH_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: sh /home/souch/deploy.sh