Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added github workflows for release and deploy (#10) #11

Merged
merged 2 commits into from
Feb 8, 2025

Conversation

cliedl
Copy link
Member

@cliedl cliedl commented Feb 5, 2025

Added github actions for release and deploy

release:

  • triggered by push or merged PR on main
  • Creates a new release draft with incremented version number

deploy:

  • triggered by release
  • Builds image
  • Pushes to Dockerhub
  • Creates new revision on azure (does not redirect traffic yet)

Workflow for deployment:

  1. Push or merge PR on main
  2. Go to releases and click publish release (add some description for the release)
  3. Go to azure portal. Check if deployment was successful (there is a deployment for each revision) and then redirect traffic
  4. Delete the old revision (optional)

* adding github actions workflow to create release draft

* now added workflows

* removed dep on quality-assurance

* added github token

* removed test branch from trigger section

* added line break

* testing

* testing

* fixed

* deleted test-branch from actions

---------

Co-authored-by: Joshua Nowak <[email protected]>
Co-authored-by: cliedl <[email protected]>
@cliedl cliedl requested a review from josh-nowak February 5, 2025 20:48
@cliedl cliedl requested a review from josh-nowak February 6, 2025 09:41
@josh-nowak josh-nowak merged commit 18b8b80 into main Feb 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants