Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
Revert "[WEAV-000] dev server cd trigger by ci (#261)"
Browse files Browse the repository at this point in the history
This reverts commit 2454c58.
  • Loading branch information
waterfogSW committed May 1, 2024
1 parent f63858c commit 849dea3
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/develop_server_deployer.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Develop Server Deployer (CD)

on:
workflow_run:
workflows: ["Develop Server Integrator (CI)"]
branches: [main]
types:
- completed
workflow_dispatch:
inputs:
version:
Expand All @@ -15,7 +10,7 @@ on:

jobs:
deploy:
needs: [validate_version, check_ci_success]
needs: validate_version
runs-on: ubuntu-latest
environment: DEV
steps:
Expand Down Expand Up @@ -163,13 +158,3 @@ jobs:
echo "Invalid version format. Use 'latest' or semver format (e.g., 0.2411.135)"
exit 1
fi
check_ci_success:
needs: validate_version
runs-on: ubuntu-latest
steps:
- name: Check CI
if: ${{ github.event.workflow_run != null && github.event.workflow_run.conclusion != 'success' }}
run: |
echo "CI failed"
exit 1

0 comments on commit 849dea3

Please sign in to comment.