Kaynağa Gözat

Push drone configuration

Colin Powell 2 yıl önce
ebeveyn
işleme
18b16bc2be
1 değiştirilmiş dosya ile 25 ekleme ve 0 silme
  1. 25 0
      .drone.yml

+ 25 - 0
.drone.yml

@@ -0,0 +1,25 @@
+---
+################
+# Build & Test #
+################
+
+kind: pipeline
+name: run_tests
+
+steps:
+  # Run tests against Python/Flask engine backend (with pytest)
+  - name: build and push
+    image: klakegg/hugo
+    commands:
+      # Install dependencies
+      - wget https://github.com/gohugoio/hugo/releases/download/v0.110.0/hugo_0.110.0_linux-amd64.tar.gz
+      - tar zxvf hugo_0.110.0_linux-amd64.tar.gz
+      # Start with a fresh database (which is already running as a service from Drone)
+      - hugo
+volumes:
+  - name: docker
+    host:
+      path: /var/run/docker.sock
+  - name: pip_cache
+    host:
+      path: /tmp/cache/drone/pip