diff --git a/backend/deploy/action.yaml b/backend/deploy/action.yaml index 021d5e8e..9798269d 100644 --- a/backend/deploy/action.yaml +++ b/backend/deploy/action.yaml @@ -101,6 +101,12 @@ inputs: runs: using: "composite" steps: + - name: Checking out repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ inputs.gh_token }} + - name: Create env deployment uses: chrnorm/deployment-action@v2 id: deployment @@ -108,12 +114,6 @@ runs: token: ${{ inputs.gh_token }} environment: ${{ inputs.env }} - - name: Checking out repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ inputs.gh_token }} - - name: setup custom command if: ${{ inputs.custom_command_flag == 'true' }} shell: bash