aboutsummaryrefslogblamecommitdiff
path: root/.drone.yml
blob: 49c1d08dd4ba7d0cf6bc16d50a9a1c4d78069613 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                         

                         
















                                                    
              


                        

               
                                                                      

   
---
# see https://docs.drone.io/pipeline/configuration/
kind: pipeline
type: docker
name: build

steps:
  - name: build-css
    image: node
    commands:
      - npm install
      - npx tailwindcss -i ./src/input.css -o ./static/style.css --minify

  - name: build-zola
    image: ghcr.io/getzola/zola:v0.15.3
    entrypoint: /bin/zola
    command: [ "build" ]

  - name: upload
    image: plugins/s3
    settings:
      bucket: garagehq-new
      access_key:
        from_secret: aws_access_key_id
      secret_key:
        from_secret: aws_secret_access_key
      source: public/**/*
      strip_prefix: public/
      target: /
      path_style: true
      endpoint: https://garage-staging.home.adnab.me
      region: garage-staging
    when:
      branch:
      - master
      event:
        exclude:
          - pull_request
---
kind: signature
hmac: 6b52cc98a9ff3c8ff4327fd9ceb95fcb628c96f737e2e7596a47c3cb7d589882

...