ci: execute deploy script inside gitea_runner environment for 100% success
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
This commit is contained in:
parent
98c2c4c1bb
commit
ce46daa985
@ -11,10 +11,10 @@ jobs:
|
||||
deploy:
|
||||
runs-on: canina
|
||||
steps:
|
||||
- name: Execute Deployment Script
|
||||
- name: Trigger Automatic Deployment
|
||||
shell: sh
|
||||
env:
|
||||
BRANCH: ${{ github.ref_name }}
|
||||
run: |
|
||||
echo "Starting CI/CD deployment for branch: ${BRANCH}"
|
||||
sh /opt/services/canina/deploy.sh "${BRANCH}"
|
||||
env:
|
||||
BRANCH: ${{ github.ref_name }}
|
||||
docker exec -e BRANCH="${BRANCH}" gitea_runner sh -c 'bash /opt/services/canina/deploy.sh "$BRANCH"'
|
||||
Loading…
Reference in New Issue
Block a user