From f593ad130e1b1cd02da5b17a4fc509ae9993ae1f Mon Sep 17 00:00:00 2001 From: uzivibecode Date: Fri, 27 Feb 2026 17:03:21 +0000 Subject: [PATCH] initial commit: test-web template CI/CD --- .woodpecker.yml | 10 ++++++++++ index.html | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .woodpecker.yml create mode 100644 index.html diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..5b309d8 --- /dev/null +++ b/.woodpecker.yml @@ -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!" diff --git a/index.html b/index.html new file mode 100644 index 0000000..593466b --- /dev/null +++ b/index.html @@ -0,0 +1,48 @@ + + + + + + Test Web - CI/CD Template + + + +
+

🚀 Test Web

+

Proyek template CI/CD berhasil di-deploy!

+

Edit file ini, push ke Gitea, dan lihat otomatis terupdate.

+ Woodpecker CI ✅ +
+ +