From 3e0e44f229e79144023fb84f5dacbf63d44c679f Mon Sep 17 00:00:00 2001 From: smf Date: Sat, 23 Mar 2024 22:53:07 +0800 Subject: [PATCH] both pr and tag compose file from deploy repo --- .github/workflows/deploy_compose.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/deploy_compose.yml b/.github/workflows/deploy_compose.yml index be84dea..e72eefa 100644 --- a/.github/workflows/deploy_compose.yml +++ b/.github/workflows/deploy_compose.yml @@ -13,14 +13,6 @@ on: required: false type: string default: 'refs/heads/main' - dev_compose_repository: - required: false - type: string - default: 'olms/deploy_dev' - dev_compose_ref: - required: false - type: string - default: 'refs/heads/main' stack_file_name: required: false type: string @@ -54,17 +46,8 @@ jobs: run: | echo "github.event_name: ${{ github.event_name }}" - - name: Check out Dev Compose Repo on pr + - name: Check out Deploy Compose Repo uses: actions/checkout@v3 - if: ${{ github.event_name == 'pull_request' }} - with: - repository: ${{ inputs.dev_compose_repository }} - ref: ${{ inputs.dev_compose_ref }} - token: ${{ secrets.REPOS_ACCESS_TOKEN }} - - - name: Check out Deploy Compose Repo on other event - uses: actions/checkout@v3 - if: ${{ ! ( github.event_name == 'pull_request' ) }} with: repository: ${{ inputs.compose_repository }} ref: ${{ inputs.compose_ref }}