From 999f6b09a8b5208abe30c0175ee6efedb259a005 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 4 Apr 2025 21:15:13 +0100 Subject: [PATCH] Make deployment script accept pat --- .github/workflows/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index fe85a4c58..ea0864927 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -27,7 +27,7 @@ jobs: - name: Copy configuration files run: | cp configuration/dist/github/developer-roadmap.env .env - git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git web-draw-temp --depth 1 + git ls-remote https://x-access-token:${{ github.token }}@github.com/roadmapsh/web-draw.git # ----------------- # Prepare the Build