From d5c390f603b0c7aed27db2399d9401daebc4d552 Mon Sep 17 00:00:00 2001 From: yourmoonlight Date: Tue, 21 May 2024 20:09:06 +0800 Subject: [PATCH] deploy when build docker finished (#1719) --- .github/workflows/deploy_mainnet.yml | 18 ++++++++++-------- .github/workflows/deploy_testnet.yml | 6 ++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy_mainnet.yml b/.github/workflows/deploy_mainnet.yml index c0751ff9b5..1b346c3655 100644 --- a/.github/workflows/deploy_mainnet.yml +++ b/.github/workflows/deploy_mainnet.yml @@ -1,13 +1,15 @@ name: Deploy MAINNET Seed on: - workflow_dispatch: - inputs: - tagName: - description: 'Tag Name to Checkout' - required: true - default: 'latest' - release: - types: [ published ] + workflow_dispatch: + inputs: + tagName: + description: 'Tag Name to Checkout' + required: true + default: 'latest' + workflow_run: + workflows: ["Build Docker And Deploy Seed"] + types: + - completed jobs: deploy-rooch-mainnet: diff --git a/.github/workflows/deploy_testnet.yml b/.github/workflows/deploy_testnet.yml index a4a8966c6b..7018a79eb5 100644 --- a/.github/workflows/deploy_testnet.yml +++ b/.github/workflows/deploy_testnet.yml @@ -1,8 +1,10 @@ name: Deploy TESTNET Seed on: workflow_dispatch: - release: - types: [ published ] + workflow_run: + workflows: ["Build Docker And Deploy Seed"] + types: + - completed jobs: deploy-rooch-testnet: