CI/CD Pipelines¶
Release Tag Dispatch Workflow¶
When creating a new tag using the repository's default GITHUB_TOKEN
to perform tasks on behalf of the GitHub Actions, events triggered by the GITHUB_TOKEN
will not create a new workflow run. To address this behavior, we need to set up an SSH Key
when fetching the repository in the pipeline.
- Generate a new OpenSSH Key:
This command will generate a private key id_ed25519
and a corresponding public key id_ed25519.pub
in the working directory.
- Add the private key to GitHub's
Secrets
, naming itSSH_KEY
in the repository. - Add the public key to GitHub's
Deploy keys
, also naming itSSH_KEY
in the repository. - In the GitHub Actions, specify the
ssh-key
option: