From dbc3cb97fd84f873fe80db5326593a4c803c8113 Mon Sep 17 00:00:00 2001 From: Alex Kao Date: Tue, 23 Apr 2024 22:28:41 +0800 Subject: [PATCH] again --- .github/workflows/cd.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 507d077..04b6db7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,16 +1,21 @@ name: cd on: - workflow_run: - workflows: ["ci"] - types: - - completed - branches: - - 'master' + push: + branches: + - master + + # workflow_run: + # workflows: ["ci"] + # types: + # - completed + # branches: + # - 'master' + jobs: deploy: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} + # if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout repository