diff --git a/.drone.yml b/.drone.yml index 9d4df5d..3415d81 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: - bash ./import-gpg.sh - bash ./prepare-pages.sh - - git clone -b pages https://git.froth.zone/packages/awl pkg + - git clone --depth 1 -b pages https://git.froth.zone/packages/awl pkg # delete stuff that either does not matter or will get overwritten - rm -rf pkg/.git # overwrite anything that already exists, and merge the folders that don't @@ -23,6 +23,7 @@ steps: # Remove (this isn't needed but makes me feel better) - rm -rf repo/ - mv pkg/apt /pkg/apt + - rm -rf pkg/ environment: TAG: ${TAG} SIGNING_KEY: @@ -50,9 +51,13 @@ steps: image: appleboy/drone-git-push settings: branch: master + path: /drone/src + remote_name: origin remote: from_secret: URL commit: true + tag: true + followtags: true commit_message: Update DB depends_on: - "Create apt packages" diff --git a/.gitignore b/.gitignore index 5ee21e0..8685091 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.deb repo/ +pkg/ \ No newline at end of file