Skip to content

fix: edit hide event #68

fix: edit hide event

fix: edit hide event #68

Workflow file for this run

name: deploy to vps
'on':
push:
branches:
- main
jobs:
build:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Build
run: |
npm install
npm run build
ls -lh
env:
VITE_YOURLS_API: ${{ secrets.VITE_YOURLS_API }}
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "dist"
target: ${{ secrets.TARGET }}