Skip to content

Commit

Permalink
ci: 🎡 modify the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru1ers committed Dec 30, 2024
1 parent 7281ece commit 1ae39a1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/docs-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,17 @@ jobs:
password: ${{ secrets.PASSWORD }}
source: 'docs/zebra-swiper-docs/.vitepress/dist/*'
target: '/www/wwwroot/swiper.zebraui.com/dist'
strip_components: 3
strip_components: 4
rm: true

- name: Move files to root
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /www/wwwroot/swiper.zebraui.com
mv dist/* .
rm -rf dist/

0 comments on commit 1ae39a1

Please sign in to comment.