From 735c38807043f15608ea2476c582c4c8792dc2a2 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Tue, 5 Aug 2025 13:02:46 -0400 Subject: [PATCH] feat: Clone WordPress scripts with secret token --- .gitea/workflows/deploy.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 49ea211..dfbd145 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -8,5 +8,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + + - name: Clone WordPress scripts + env: + TEMPLATES_REPO_TOKEN: ${{ secrets.TEMPLATES_REPO_TOKEN }} + run: | + git clone https://$TEMPLATES_REPO_TOKEN@gitea.websimple.com/templates/wp-scripts.git /tmp/wp-scripts + - name: List files in the repository run: ls -la ${{ gitea.workspace }}