From 31f14aac4762e0a4f45d962c9d24dcfda97d10c2 Mon Sep 17 00:00:00 2001 From: William Luke Date: Thu, 3 Feb 2022 14:00:47 +0300 Subject: [PATCH] fix: test semver publish --- .drone.yml | 13 +++++++++++++ rsync.sh | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 rsync.sh diff --git a/.drone.yml b/.drone.yml index 4e6fb6a..12d2294 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,19 @@ steps: - name: poetry_cache path: /root/.cache/pypoetry + - name: publish + image: python:3.7.2 + commands: + # Install dependencies + - pip install --no-cache-dir poetry + - poetry install + - poetry run semantic-release publish --noop + environment: + LOGLEVEL: info + + volumes: + - name: poetry_cache + path: /root/.cache/pypoetry volumes: - name: poetry_cache host: diff --git a/rsync.sh b/rsync.sh new file mode 100644 index 0000000..efcbcfc --- /dev/null +++ b/rsync.sh @@ -0,0 +1,2 @@ +# rsync -r ./dist/ root@root.grassrootseconomics.net:/usr/local/share/python/packages/ +rsync -r ./dist/ root@vultr.williamluke.dev:/root/ \ No newline at end of file