diff --git a/.frontmatter/content/mediaDb.json b/.frontmatter/content/mediaDb.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.frontmatter/content/mediaDb.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.woodpecker/publish-docs.yml b/.woodpecker/publish-docs.yml new file mode 100644 index 0000000..3b7f6f7 --- /dev/null +++ b/.woodpecker/publish-docs.yml @@ -0,0 +1,19 @@ +pipeline: + build: + image: klakegg/hugo:ext-debian-ci + commands: + - hugo + + deploy: + image: debian + commands: + - mkdir ~/.ssh && chmod -R 700 + - apt update -y && apt install openssh-client rsync -y + - echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts + - echo 'echo "$SSH_PASSPHRASE"' > ~/.ssh/.print_ssh_password + - eval $(ssh-agent -s) + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | DISPLAY=":0.0" SSH_ASKPASS=~/.ssh/.print_ssh_password setsid ssh-add - > /dev/null + - rsync -atv --delete --progress public/ backy@backy.cybershell.xyz:docs + - rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go + +branches: master \ No newline at end of file