fix: missing SSH_PRIVATE_KEY
Some checks failed
WordPress deployment / deploy (push) Failing after 1s
Some checks failed
WordPress deployment / deploy (push) Failing after 1s
This commit is contained in:
@@ -6,14 +6,16 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-websimple
|
runs-on: ubuntu-websimple
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Clone WordPress scripts
|
- name: Install WordPress scripts
|
||||||
env:
|
env:
|
||||||
TEMPLATES_REPO_TOKEN: ${{ secrets.TEMPLATES_REPO_TOKEN }}
|
TEMPLATES_REPO_TOKEN: ${{ secrets.TEMPLATES_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git clone https://$TEMPLATES_REPO_TOKEN@gitea.websimple.com/templates/wp-scripts.git /tmp/wp-scripts
|
git clone https://$TEMPLATES_REPO_TOKEN@gitea.websimple.com/templates/wp-scripts.git /tmp/wp-scripts
|
||||||
|
|
||||||
- name: Run deployment script
|
- name: Run deployment script
|
||||||
|
env:
|
||||||
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
run: /tmp/wp-scripts/deploy.sh
|
run: /tmp/wp-scripts/deploy.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user