From dcb1b734b7e046879365ff9073cc13dad6977fbc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 12 Jan 2020 16:13:37 +0100 Subject: [PATCH] fix drone config --- .drone.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index cf343a7..6782a55 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,10 @@ kind: pipeline name: build +platform: + os: linux + arch: amd64 + steps: - name: assets image: node @@ -19,12 +23,12 @@ steps: image: alpine commands: - mkdir dist/ - - tar -zcvf . -f dist/hugo-geekdoc.tar.gz --exclude='.git*' --exclude='.drone*' --exclude='dist' --exclude='.git*' --exclude='example*' --exclude='src' --exclude='gulp*' --exclude='package*' + - tar -zcvf dist/hugo-geekdoc.tar.gz . --exclude='.git*' --exclude='.drone*' --exclude='dist' --exclude='.git*' --exclude='example*' --exclude='src' --exclude='gulp*' --exclude='package*' - name: checksum image: alpine commands: - - "cd dist/ && sha256sum * > ../sha256sum.txt" + - cd dist/ && sha256sum * > ../sha256sum.txt - name: publish image: plugins/github-release @@ -32,17 +36,23 @@ steps: api_key: from_secret: github_token files: - - "dist/*" + - dist/* - sha256sum.txt note: CHANGELOG.md overwrite: true - title: "${DRONE_TAG}" + title: ${DRONE_TAG} when: ref: - - "refs/tags/**" + - refs/tags/** trigger: ref: - refs/heads/master - refs/tags/** - refs/pull/** + +--- +kind: signature +hmac: 549fc79b15dede6b3124796870db1ca1eeedd62da861ff33519b0c9126f5e74d + +...