From 2b62222edde46980f53803b9206d9b528c2deecd Mon Sep 17 00:00:00 2001 From: Shaun Hoffer Date: Fri, 17 May 2024 10:26:21 -0400 Subject: [PATCH] added a ci file --- .woodpecker.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..073551b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,17 @@ +pipeline: + build: + # Use the official jekyll build container + image: node + secrets: [ cbtoken, cbmail ] + commands: + # Avoid permission denied errors + - chmod -R a+w . + # Set up git in a working way + - git config --global --add safe.directory /woodpecker/src/git.ttnrtsite.me/SSP6904/radarmap.git/public + - git config --global user.email "$CBMAIL" + - git config --global user.name "CI Builder" + # clone and move the target repo + - git clone https://git.ttnrtsite.me/SSP6904/radarmap.git + - mv radarmap public + - chmod -R a+w . + - npx @getmeli/cli upload --url https://meli.ttnrtsite.me --site 38bcb4c8-43f3-4232-9389-7ab62a4238da --token b2dded6629cedc119113223ae0583280a24deda1104f78b8cb9586ff7fbc8728 public \ No newline at end of file