use build logic from main

This commit is contained in:
pat-s 2023-02-21 12:52:14 +01:00
parent 9d057eb1b6
commit 5c9edb5abe
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -11,14 +11,14 @@ workspace:
path: src
steps:
- name: build
- name: build
pull: always
image: golang:1.19
commands:
- make clean
- make build
- name: publish
- name: publish
pull: always
image: techknowlogick/drone-netlify:latest
settings:
@ -31,7 +31,7 @@ steps:
event:
- push
- name: discord
- name: discord
pull: always
image: appleboy/drone-discord:1
environment:
@ -67,11 +67,10 @@ trigger:
steps:
- name: build website
pull: always
image: klakegg/hugo:alpine-ci
image: golang:1.19
commands:
- apk add git
- git submodule update --init --recursive
- hugo
- make clean
- make build
- name: "[PR] create s3 bucket"
when: