Skip to content

Commit

Permalink
Edited release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Shritesh99 committed Nov 23, 2023
1 parent e3232e7 commit 53f3baf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: 🆙 Release

on:
push:
release:
branches:
- master
- main
tags: ['v[0-9].[0-9]+.[0-9]+']
release:
tags: [ 'v[0-9].[0-9]+.[0-9]+' ]
types: [ published ]

jobs:
deploy:
name: Deploy
environment: Deployment
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ django_settings_module = "testproject.settings"
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.autopub]
git-username = "shritesh99"
git-email = "shritesh.sj@gmail.com"
project-name = "strawberry-django-social-auth"
append-github-contributor = true

[tool.ruff]
line-length = 100
select = ["E", "F", "ERA", "I"]
Expand Down

0 comments on commit 53f3baf

Please sign in to comment.