All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
11 lines
406 B
YAML
11 lines
406 B
YAML
pipeline:
|
|
deploy:
|
|
image: alpine/git
|
|
secrets: [ DEPLOY_PATH ]
|
|
commands:
|
|
- cd $DEPLOY_PATH
|
|
- git config --global --add safe.directory $DEPLOY_PATH
|
|
- git remote set-url origin https://git.sukabelajar.web.id/${CI_REPO}.git || true
|
|
- git fetch origin ${CI_COMMIT_BRANCH}
|
|
- git reset --hard origin/${CI_COMMIT_BRANCH}
|
|
- echo "✅ Deploy ${CI_REPO_NAME} selesai!" |