forked from mCaptcha/website
15 lines
466 B
YAML
15 lines
466 B
YAML
steps:
|
|
build:
|
|
image: realaravinth/nvm-node16-insecure
|
|
environment:
|
|
- NVM_DIR="$HOME/.nvm"
|
|
when:
|
|
event: [push, pull_request, tag, deployment]
|
|
branch: master
|
|
commands:
|
|
- 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
|
|
secrets: [FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]
|