Skip to content

Commit

Permalink
Update release strategy
Browse files Browse the repository at this point in the history
1. Manual deploy using a workflow dispatch
2. Successful deploys create a release version
3. Docker build & push triggered by releases
  • Loading branch information
cachapa committed Feb 5, 2024
1 parent 46d36dc commit f1b4eb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: Deploy

on:
push:
branches:
- 'release'
workflow_dispatch

concurrency:
group: "deploy"
cancel-in-progress: true

permissions:
packages: write # Required for calling the docker workflow
contents: write # Required for creating releases

jobs:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Build and Push Docker Images

on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
release:
types: [published]

Expand Down

0 comments on commit f1b4eb3

Please sign in to comment.