Skip to content

Commit

Permalink
chore: add GH workflow to publish manually from branches (#2316)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpro7 committed Dec 1, 2022
1 parent 9595ed7 commit 6f5020e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/publish-from-branch.yml
@@ -0,0 +1,25 @@
name: Publish from branch

on:
workflow_dispatch:

jobs:
publish-from-branch:
name: Publish from branch
runs-on: ubuntu-latest
steps:
- name: Build and publish all images to Dockerhub
run: |
echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
make docker-publish
send-chat-notification:
name: Send google chat notification
needs: [publish-from-branch]
runs-on: ubuntu-latest
steps:
- name: Send notification to google chat room "DSP releases"
uses: lakto/google-chat-action@main
with:
url: ${{ secrets.GOOGLE_CHAT_DSP_RELEASES_WEBHOOK_URL }}

1 change: 0 additions & 1 deletion .github/workflows/publish-release.yml
Expand Up @@ -3,7 +3,6 @@ name: Publish
on:
release:
types: [published]
workflow_dispatch:

jobs:
create-client-test-data:
Expand Down

0 comments on commit 6f5020e

Please sign in to comment.