feat: only master
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-03 23:36:06 +02:00
parent 34417f77bc
commit be2f9f8330
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -23,7 +23,7 @@ steps:
- mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- name: build
- name: build pr
image: kasperhermansen/cuddle:latest
pull: always
volumes:
@ -35,7 +35,7 @@ steps:
- eval `ssh-agent`
- chmod -R 600 ~/.ssh
- ssh-add
- cuddle x ci:all
- cuddle x ci:pr
environment:
DOCKER_BUILDKIT: 1
CUDDLE_SECRETS_PROVIDER: 1password
@ -43,7 +43,10 @@ steps:
CUDDLE_SSH_AGENT: "true"
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- pull_request
depends_on:
- "load_secret"
- "build ci"
@ -60,9 +63,7 @@ steps:
- eval `ssh-agent`
- chmod -R 600 ~/.ssh
- ssh-add
- cuddle x build:release:all
- cuddle x deploy:docs:preview
- cuddle x please:release
- cuddle x ci:main
environment:
DOCKER_BUILDKIT: 1
CUDDLE_SECRETS_PROVIDER: 1password
@ -75,7 +76,7 @@ steps:
- main
- master
depends_on:
- "build"
- "build ci"
- name: deploy release
image: kasperhermansen/cuddle:latest