~rensoliemans/website

941434f9f88f4853c2014110928de345fc694c15 — Rens Oliemans 1 year, 5 months ago 2b0f3e3 + 15c6a9f
Merge branch 'main' of git.rensoliemans.nl:rens/website
2 files changed, 5 insertions(+), 1 deletions(-)

M .woodpecker.yml
A Makefile
M .woodpecker.yml => .woodpecker.yml +1 -1
@@ 7,7 7,7 @@ pipeline:
      - echo "$SSH_KEY" | ssh-add -
      - mkdir -p ~/.ssh
      - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
      - ssh "$USER@$HOST" "nohup update-website >> logs/update-website.log 2>&1 &"
      - ssh "$USER@$HOST" "update-webapp website | tee -a logs/update-website.log 2>&1"
    secrets: [ user, host, ssh_key ]

branches: main

A Makefile => Makefile +4 -0
@@ 0,0 1,4 @@
build:
	git pull origin main
	mkdir -p public
	cp -ruT src/ public