Files
webprewviewapi/.github/workflows/depley.yaml
Workflow config file is invalid. Please check your config file: EOF
2025-03-04 23:26:15 +08:00

24 lines
448 B
YAML

# name: Deploy
# on:
# push:
# branches:
# - main
# jobs:
# deploy-and-run:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: appleboy/ssh-action@v1.2.1
# with:
# host: ${{ secrets.HOST }}
# username: root
# key: ${{ secrets.KEY }}
# script: |
# cd ~/WebPreview/api
# git pull
# sh ~/WebPreview/run.sh