2023-02-13 16:04:43 +05:30
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: python
|
|
|
|
when:
|
|
|
|
event: [ push, pull_request, tag, deployment ]
|
2023-02-13 17:35:08 +05:30
|
|
|
branch: mcaptcha.io
|
2023-02-13 16:04:43 +05:30
|
|
|
commands:
|
|
|
|
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
|
|
|
|
- apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
|
|
|
|
- make env
|
|
|
|
- make
|
|
|
|
- make ci-deploy
|
2023-02-13 16:50:36 +05:30
|
|
|
secrets: [ FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]
|