2023-10-21 14:06:04 +05:30
|
|
|
steps:
|
2023-02-13 16:04:43 +05:30
|
|
|
build:
|
2023-10-21 14:43:25 +05:30
|
|
|
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]
|
2023-03-09 02:30:43 +05:30
|
|
|
branch: master
|
2023-02-13 16:04:43 +05:30
|
|
|
commands:
|
2023-10-21 14:06:04 +05:30
|
|
|
- apt-get update
|
2023-10-21 14:43:25 +05:30
|
|
|
- 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]
|