Home > Mobile >  Trigger workflow when creating a release
Trigger workflow when creating a release

Time:01-21

I'm attempting to create a GitHub Action which builds and pushes an image to Docker Hub. Easy enough since there's already a standard workflow for that. However, is there a way to have the action be triggered whenever I create a release for my repository?

CodePudding user response:

It can be done by

on:
  release:
    types: [published]

Reference

  • Related