Skip to content

Commit

Permalink
Still trying to get deploy action working
Browse files Browse the repository at this point in the history
  • Loading branch information
dusktreader committed Oct 25, 2024
1 parent c348520 commit 2b0b983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
name: dusky-python-cd

name: deploy-on-tag
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: 'x64'
python-version: 3.8
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.4.1
- name: login
run: poetry config http-basic.pypi dusktreader ${{ secrets.PYPI_PASSWORD }}
run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
- name: build
run: poetry build
- name: publish
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: dusky-python-ci

name: test-on-push
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -17,7 +15,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.4.1
Expand Down

0 comments on commit 2b0b983

Please sign in to comment.