Skip to content

Commit

Permalink
Merge pull request #41 from zebra-ui/v3
Browse files Browse the repository at this point in the history
ci: 🎡 modify the build process
  • Loading branch information
Ru1ers authored Dec 30, 2024
2 parents 198737f + 1ae39a1 commit 3c88643
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 3c88643

Please sign in to comment.