From 578d2e66b017a8259b9b44013dee1f5c1019e592 Mon Sep 17 00:00:00 2001 From: nutrina Date: Fri, 2 Aug 2024 19:24:27 +0300 Subject: [PATCH] feat: checkout code before deploy ui to branch (#651) --- .github/workflows/release_and_deploy_production.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release_and_deploy_production.yml b/.github/workflows/release_and_deploy_production.yml index d224dfa63..aef7f3eb6 100644 --- a/.github/workflows/release_and_deploy_production.yml +++ b/.github/workflows/release_and_deploy_production.yml @@ -64,6 +64,11 @@ jobs: needs: [ref, deploy-staging] runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ needs.ref.outputs.refspec }} + fetch-depth: 0 - id: push-to-branch uses: passportxyz/gh-workflows/.github/actions/push_to_branch@v1 with: @@ -86,6 +91,11 @@ jobs: needs: [ref, deploy-production] runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ needs.ref.outputs.refspec }} + fetch-depth: 0 - id: push-to-branch uses: passportxyz/gh-workflows/.github/actions/push_to_branch@v1 with: