From 7e4b866b2a2aac4c3f798467d14f9aacf5984422 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Mon, 7 Oct 2024 17:26:53 +0500 Subject: [PATCH] Add workflow --- .woodpecker.yaml | 15 +++++++++++++++ project.zip | Bin 0 -> 7392 bytes 2 files changed, 15 insertions(+) create mode 100644 .woodpecker.yaml create mode 100644 project.zip diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..bb408c7 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,15 @@ +when: + - event: manual + - event: push + branch: main + +steps: + - name: hello-world + image: node:latest + commands: + - npm install vite -g + - vite build + - (cd dist && zip -r ../project.zip ./*) + - 'curl -s -w "%{http_code}" -X POST -F "zipfile=@project.zip" -H "Authorization: Bearer $API_KEY" https://pages.hadeedahmad.com/pages/$(basename "$PWD") | grep -q 200' + + secrets: [ API_KEY ] diff --git a/project.zip b/project.zip new file mode 100644 index 0000000000000000000000000000000000000000..228cf76c9001d4f09cd56c9a756a30fcf724925c GIT binary patch literal 7392 zcma)hWl&t(wl$vMkU($^1a}MW9%yJFxCM8&ARXK#XpjJb5Q4h}cXw&5ahGmf8~Ae0 zd#~!A^SyiC-MiMRxoX!MW39Ps&L3l_DI=p`ApG&*$H?pc8T|Kzg+PvAZsX?8Vd~~) z;qJzvrHPJ!ygq|$^~dn=#za6w*+WJ^_;XVGjY9By-}66FP(gYclfOSPpdcW;`5TI* zsi%#ZlOr1sw>J+rn~b`xth%nYDZ8_y)j#1MVx73{ZYOShFfm!Xyl_TGn!=zS>BOQl zOm(L~2D0wQwZ&m!k=-{v(Nzc0C5Z<4kq{Tp5EGN?5fcX>hLRd_awd~~<3kJBb+uoKLQTo~}eb-rg<6|BfKH zCl>po^2b(=tgWYe5Anu1poeU)OUc{G;SxvDfUE8M23Whe|Ksh$cuv`MPD9o&vGcRm z^NJPF{lo6spuB$#;NkWj28lPmr))nE2Kf&43UjnQHa@Hw>h;!#1H=PvFYgbQ;;BH7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