Skip to content

Improvement for ship workflow #5

Description

@muuvmuuv

I think it does make more sense to run the ship workflow only after a release has been created, so I modified mine to the below. Maybe this should be added here to for some folks that wants the same instead of ship on every tag creation.

on:
  release:
    types:
      - published

A release workflow will previously run deno lint, deno test and then release a new version based on a tag that has been created.

https://github.com/m8finder/webssl/tree/main/.github/workflows

NOTE: using the default repository GITHUB_TOKEN for a release will not trigger any on.release.types.* during a CI workflow run. For this it is needed to use a personal access token. Read: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions