Skip to content

Commit

Permalink
branch deploy needs repo checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
drmowinckels committed Jul 17, 2023
1 parent 5c5554a commit 54a3e91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Download Build Artifact
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -180,7 +185,6 @@ jobs:
fi
- name: Install netlify cli
if: github.ref != 'refs/heads/main'
run: npm install netlify-cli -g

- name: Download Build Artifact
Expand Down

0 comments on commit 54a3e91

Please sign in to comment.