~rensoliemans/website

15c6a9f929067ca6ba145450fe86016f6a272f46 — Rens Oliemans 1 year, 7 months ago dc92b7e
Add makefile

See [0] and the related commits.

[0]:
https://git.rensoliemans.nl/rens/slitdecision/commit/d6e0b84217b0aeaf86040f451463190a09486725
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