From 5a365541491136efca6269a3dc62d311d0ea2a8b Mon Sep 17 00:00:00 2001 From: Joschka Braun <47435119+joschkabraun@users.noreply.github.com> Date: Mon, 24 Apr 2023 11:50:30 +0200 Subject: [PATCH] :bookmark: cd: publish prerelease (#57) --- .github/workflows/cd.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..62a5598 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,23 @@ +name: CD + +on: + push: + branches: + - main + +jobs: + prerelease: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 100 + - name: Pre-release (.devN) + run: | + git fetch --depth=1 origin +refs/tags/*:refs/tags/* + pip install twine wheel + ./scripts/release.sh + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }} \ No newline at end of file