disable actions

This commit is contained in:
2025-03-04 23:26:15 +08:00
parent 083ac6d3bd
commit f9f84efcc2

View File

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