Skip to content

Commit

Permalink
Fetch complete history to be able to push to production branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Dec 2, 2023
1 parent ea9cba1 commit ba4c04c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ on:
- v**

jobs:
# build-docker-image:
# name: Build docker image
# uses: ./.github/workflows/docker.yml
# secrets: inherit
build-docker-image:
name: Build docker image
uses: ./.github/workflows/docker.yml
secrets: inherit

create-release:
name: Create release
#needs: [build-docker-image]
needs: [build-docker-image]
runs-on: ubuntu-latest

steps:
- name: Checkout documentation
uses: actions/checkout@v3
with:
ref: "main"
# fetch complete history to be able to push to production branch
fetch-depth: 0

- name: Push main to production
run: |
git fetch origin production
git push origin main:production
- name: Create release
Expand Down

0 comments on commit ba4c04c

Please sign in to comment.