initial commit: test-web template CI/CD

This commit is contained in:
2026-02-27 17:03:21 +00:00
commit f593ad130e
2 changed files with 58 additions and 0 deletions

10
.woodpecker.yml Normal file
View File

@@ -0,0 +1,10 @@
pipeline:
deploy:
image: alpine/git
commands:
- cd /var/www/projects/test-web
- git config --global --add safe.directory /var/www/projects/test-web
- git remote set-url origin https://uzivibecode:${CI_FORGE_TOKEN}@git.sukabelajar.web.id/uzivibecode/test-web.git || true
- git fetch origin main
- git reset --hard origin/main
- echo "✅ Deploy selesai!"