added a ci file

This commit is contained in:
Shaun Hoffer 2024-05-17 10:26:21 -04:00
parent 50509f80e1
commit 2b62222edd

17
.woodpecker.yml Normal file

@ -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