2022-08-16 16:14:27 +05:30
|
|
|
pipeline:
|
2022-08-16 16:38:50 +05:30
|
|
|
buildfrontend:
|
2022-08-16 16:52:22 +05:30
|
|
|
image: node:16
|
2022-08-16 16:38:50 +05:30
|
|
|
commands:
|
2022-08-16 16:47:23 +05:30
|
|
|
- yarn install --prefer-offline --frozen-lockfile
|
2022-08-16 16:38:50 +05:30
|
|
|
- yarn test
|
2022-08-16 16:47:23 +05:30
|
|
|
- yarn run lint-ci
|
|
|
|
- yarn run tsc
|
2022-08-16 16:38:50 +05:30
|
|
|
- yarn build
|
2022-08-16 16:36:05 +05:30
|
|
|
|
2022-08-16 16:38:50 +05:30
|
|
|
deploy:
|
2022-08-16 17:02:10 +05:30
|
|
|
image: python
|
2022-08-16 16:38:50 +05:30
|
|
|
when:
|
|
|
|
event: push
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- make ci-deploy
|
2022-08-16 17:05:59 +05:30
|
|
|
secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]
|