]> Untitled Git - lemmy-ui.git/blob - .woodpecker.yml
fix submodule error
[lemmy-ui.git] / .woodpecker.yml
1 pipeline:
2   fetch_git_submodules:
3     image: node:alpine
4     commands:
5       - apk add git
6       - git submodule init
7       - git submodule update --recursive --remote
8       # - git fetch --tags
9
10   yarn:
11     image: node:alpine
12     commands:
13       - yarn
14
15   yarn_lint:
16     image: node:alpine
17     commands:
18       - yarn lint
19
20   yarn_build_dev:
21     image: node:alpine
22     commands:
23       - yarn build:dev
24
25   publish_release_docker:
26     image: woodpeckerci/plugin-docker-buildx
27     secrets: [docker_username, docker_password]
28     settings:
29       repo: dessalines/lemmy-ui
30       dockerfile: Dockerfile
31       platforms: linux/amd64
32       auto_tag: true
33     when:
34       event: tag
35
36   nightly_build:
37     image: woodpeckerci/plugin-docker-buildx
38     secrets: [docker_username, docker_password]
39     settings:
40       repo: dessalines/lemmy-ui
41       dockerfile: Dockerfile
42       platforms: linux/amd64
43       tag: dev
44     when:
45       event: cron