initial commit: test-web template CI/CD
This commit is contained in:
10
.woodpecker.yml
Normal file
10
.woodpecker.yml
Normal 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!"
|
||||
Reference in New Issue
Block a user