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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user