From 88702a0c8528315425729943f678335f8d39cf0c Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Tue, 5 Aug 2025 14:47:24 -0400 Subject: [PATCH] fix: missing SSH_PRIVATE_KEY --- .gitea/workflows/deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index b1a8de2..38bfb59 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,14 +6,16 @@ jobs: deploy: runs-on: ubuntu-websimple steps: - - name: Checkout code + - name: Checkout repository uses: actions/checkout@v4 - - name: Clone WordPress scripts + - name: Install 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: Run deployment script + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} run: /tmp/wp-scripts/deploy.sh