diff --git a/.github/workflows/production_deployment.yml b/.github/workflows/production_deployment.yml index 18f0407e..5a624195 100644 --- a/.github/workflows/production_deployment.yml +++ b/.github/workflows/production_deployment.yml @@ -10,6 +10,8 @@ jobs: environment: Production steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: push to dockerhub uses: fylein/docker-release-action@master env: diff --git a/.github/workflows/staging_deployment.yml b/.github/workflows/staging_deployment.yml index fb67663b..bb364169 100644 --- a/.github/workflows/staging_deployment.yml +++ b/.github/workflows/staging_deployment.yml @@ -14,7 +14,8 @@ jobs: environment: Staging steps: - uses: actions/checkout@v2 - + with: + fetch-depth: 0 - name: push to dockerhub uses: fylein/docker-release-action@master env: