2023-03-27 01:59:33 +00:00
|
|
|
pipeline:
|
|
|
|
fetch_git_submodules:
|
2023-06-14 12:20:40 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- apk add git
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update --recursive --remote
|
|
|
|
# - git fetch --tags
|
|
|
|
|
|
|
|
yarn:
|
2023-06-14 12:20:40 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn
|
|
|
|
|
|
|
|
yarn_lint:
|
2023-06-14 12:20:40 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn lint
|
|
|
|
|
|
|
|
yarn_build_dev:
|
2023-06-14 12:20:40 +00:00
|
|
|
image: node:alpine
|
2023-03-27 01:59:33 +00:00
|
|
|
commands:
|
|
|
|
- yarn build:dev
|
|
|
|
|
2023-06-14 12:20:40 +00:00
|
|
|
publish_release_docker:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
2023-03-27 01:59:33 +00:00
|
|
|
settings:
|
|
|
|
repo: dessalines/lemmy-ui
|
|
|
|
dockerfile: Dockerfile
|
2023-06-14 12:20:40 +00:00
|
|
|
platforms: linux/amd64
|
2023-03-27 01:59:33 +00:00
|
|
|
auto_tag: true
|
|
|
|
when:
|
|
|
|
event: tag
|
2023-06-28 20:55:04 +00:00
|
|
|
|
|
|
|
nightly_build:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
settings:
|
|
|
|
repo: dessalines/lemmy-ui
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
platforms: linux/amd64
|
|
|
|
tag: dev
|
|
|
|
when:
|
|
|
|
event: cron
|