diff options
| -rw-r--r-- | .github/workflows/main-branch.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/main-branch.yml b/.github/workflows/main-branch.yml index 343b731..4589123 100644 --- a/.github/workflows/main-branch.yml +++ b/.github/workflows/main-branch.yml @@ -47,7 +47,8 @@ jobs: - name: Checkout previous uses: actions/checkout@v2 with: - ref: $${{ github.event.before }} + fetch-depth: 2 + - run: git checkout HEAD^ - name: Minikube deploy run: | kubectl apply -f kubernetes/ @@ -57,7 +58,7 @@ jobs: minikube service list - name: Checkout current - uses: actions/checkout@v4 + run: git checkout main - name: Minikube update run: | kubectl apply -f kubernetes/ |
