website/.woodpecker.yml

16 lines
466 B
YAML
Raw Permalink Normal View History

2023-10-21 14:06:04 +05:30
steps:
2023-02-13 16:04:43 +05:30
build:
image: realaravinth/nvm-node16-insecure
2023-10-21 14:06:04 +05:30
environment:
- NVM_DIR="$HOME/.nvm"
2023-02-13 16:04:43 +05:30
when:
2023-10-21 14:06:04 +05:30
event: [push, pull_request, tag, deployment]
branch: master
2023-02-13 16:04:43 +05:30
commands:
2023-10-21 14:06:04 +05:30
- apt-get update
- apt update && apt-get -y --no-install-recommends install curl tar gnupg curl wget git build-essential
- npm install yarn
- make env
- make ci-deploy
2023-10-21 14:06:04 +05:30
secrets: [FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]