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