Skip to content

Commit

Permalink
build: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aisen60 committed May 22, 2024
1 parent 29572e2 commit 7ad2cad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,15 @@ jobs:
with:
github_token: ${{ secrets.TOKEN_GH_PAGES }}
publish_dir: ./dist

- name: Sync Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SECRETS_HOST }}
port: ${{ secrets.SECRETS_PORT }}
username: ${{ secrets.SECRETS_USERNAME }}
password: ${{ secrets.SECRETS_PASSWORD }}
script: |
cd /opt/cxs/vant-theme
git checkout .
git pull origin gh-pages
28 changes: 0 additions & 28 deletions .github/workflows/sync-serve.yml

This file was deleted.

0 comments on commit 7ad2cad

Please sign in to comment.