feat: Clone WordPress scripts with secret token
All checks were successful
WordPress deployment / deploy (push) Successful in 4s
All checks were successful
WordPress deployment / deploy (push) Successful in 4s
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user