更新 .gitea/workflows/demo.yaml
发布生产
This commit is contained in:
parent
1fa41b0bbe
commit
29902e0036
|
|
@ -115,6 +115,7 @@ jobs:
|
|||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Deploying build ${{ needs.build.outputs.build_id }}"
|
||||
- name: 执行远程SSH命令
|
||||
uses: appleboy/ssh-action@v1
|
||||
env:
|
||||
|
|
@ -139,3 +140,9 @@ jobs:
|
|||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
debug:
|
||||
needs: [build, deploy]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ failure() }}
|
||||
steps:
|
||||
- run: echo "Failed to build and deploy"
|
||||
Loading…
Reference in New Issue