Browse Source

deploy through woodpecker ci

pull/8/head
earnest ma 5 months ago
parent
commit
e2fc0bb0fd
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
  1. 15
      .woodpecker.yml
  2. 4
      README.md

15
.woodpecker.yml

@ -0,0 +1,15 @@
pipeline:
main:
image: alpine:3
secrets: [ ssh_key ]
commands:
- apk add --no-cache git hugo make nodejs npm openssh-client rsync yarn
- mkdir -p ~/.ssh && echo "StrictHostKeyChecking=no" >> ~/.ssh/config
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add -
- yarn install
- export PATH="node_modules/.bin:$PATH"
- make all
when:
branch: main

4
README.md

@ -1,4 +1,4 @@
# Site
<!--Badges-->
![status-badge](https://ci.earne.link/api/badges/earnestma/site/status.svg?branch=main)
My personal website and blog. Once ready, this is set to replace my WordPress site at <https://earnestma.com>.
My personal website and blog at <https://earnestma.com>.

Loading…
Cancel
Save