Skip to content

Commit

Permalink
test workflow when build docker complete
Browse files Browse the repository at this point in the history
  • Loading branch information
yourmoonlight committed Jun 3, 2024
1 parent 7b6f368 commit fae1c17
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy_testnet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy TESTNET Seed
on:
release:
types: [released, prereleased]
# release:
# types: [released, prereleased]
workflow_dispatch:
inputs:
ref:
Expand All @@ -16,11 +16,13 @@ jobs:
deploy-rooch-testnet:
name: Deploy Rooch Testnet
runs-on: self-hosted
# if: |
# github.event_name == 'workflow_dispatch' ||
# (github.event.workflow_run.conclusion == 'success' &&
# github.event.workflow_run.event == 'release' &&
# (github.event.release.prerelease == true || github.event.release.prerelease == false))
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'release' &&
(github.event.release.prerelease == true || github.event.release.prerelease == false))
github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit fae1c17

Please sign in to comment.