rename to .crow
This commit is contained in:
parent
6765ff2c0e
commit
df4d99d2c5
1 changed files with 0 additions and 0 deletions
59
.crow/docs.yaml
Normal file
59
.crow/docs.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
when:
|
||||
- event: manual
|
||||
evaluate: 'task == "docs"'
|
||||
- event: cron
|
||||
cron: 'build == "alpine-320-arm64"'
|
||||
- event: manual
|
||||
evaluate: 'build == "all-arm64"'
|
||||
|
||||
steps:
|
||||
quarto-build:
|
||||
image: ghcr.io/quarto-dev/quarto:1.7.13
|
||||
directory: docs
|
||||
commands:
|
||||
- quarto render
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
requests:
|
||||
memory: 1Gi
|
||||
cpu: 1000m
|
||||
limits:
|
||||
memory: 2Gi
|
||||
cpu: 1000m
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
tolerations:
|
||||
- key: 'CI'
|
||||
operator: 'Equal'
|
||||
value: 'true'
|
||||
effect: 'NoSchedule'
|
||||
|
||||
s3-sync:
|
||||
image: plugins/s3:1.5.1
|
||||
directory: docs
|
||||
settings:
|
||||
bucket: devxy-r-package-binaries-docs
|
||||
region: fsn1
|
||||
endpoint: https://fsn1.your-objectstorage.com
|
||||
access_key:
|
||||
from_secret: HETZNER_S3_ACCESS_KEY_K3S
|
||||
secret_key:
|
||||
from_secret: HETZNER_S3_SECRET_KEY_K3S
|
||||
source: _site/**/*
|
||||
strip_prefix: _site/
|
||||
target: /
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
requests:
|
||||
memory: 300Mi
|
||||
cpu: 200m
|
||||
limits:
|
||||
memory: 1Gi
|
||||
cpu: 1000m
|
||||
tolerations:
|
||||
- key: 'CI'
|
||||
operator: 'Equal'
|
||||
value: 'true'
|
||||
effect: 'NoSchedule'
|
||||
Loading…
Reference in a new issue