17 lines
776 B
YAML
17 lines
776 B
YAML
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 |