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