This commit is contained in:
@@ -9,12 +9,16 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Configure Git credentials
|
||||
run: |
|
||||
git config --global credential.helper store
|
||||
echo "https://staging-runner:${{ env.GITEA_TOKEN }}@code.romhackplaza.org" \
|
||||
> /root/.git-credentials
|
||||
|
||||
- name: Mark Git Folder as safe
|
||||
run: git config --global --add safe.directory /deploy/laravel
|
||||
|
||||
- name: Code pull
|
||||
env:
|
||||
GIT_SSH_COMMAND: "ssh -vv -o StrictHostKeyChecking=no -i /root/.ssh/id_ed25519"
|
||||
run: git -C /deploy/laravel pull origin staging
|
||||
|
||||
- name: Composer Dependencies
|
||||
|
||||
Reference in New Issue
Block a user