Skip to content

Commit

Permalink
Checkout with fetch-depth: 2 for build and deploy workflow
Browse files Browse the repository at this point in the history
Just the necessary to `Checkout HEAD^`, prevent slow fetch for all history [skip ci]
  • Loading branch information
leomp12 committed Dec 26, 2024
1 parent 83c99c1 commit 460c7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 2
- uses: ecomplus/cloud-commerce@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 460c7e9

Please sign in to comment.