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 17:48:40 +05:30
|
|
|
- echo 0
|
2023-02-13 17:37:29 +05:30
|
|
|
secrets: [ FORGEJO_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET_MCAPTCHA_IO ]
|