disable actions
This commit is contained in:
38
.github/workflows/depley.yaml
vendored
38
.github/workflows/depley.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user