Skip to content

Commit

Permalink
Remove explicit fetch and do that in checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuroShepherd committed Jan 22, 2025
1 parent b1389b2 commit 03445de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand All @@ -35,9 +37,9 @@ jobs:
git remote add lrz_gitlab_remote [email protected]:lmu-open-science-center/lmu-osc-website.git
git remote -v
- name: Fetch and push all branches to remote
run: |
git fetch --all
# - name: Fetch and push all branches to remote
# run: |
# git fetch --all

- name: Push all branches to new remote
run: |
Expand Down

0 comments on commit 03445de

Please sign in to comment.