Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#498] Modify Github Workflow to trigger on new tags matching pattern #519

Conversation

placek
Copy link
Contributor

@placek placek commented Mar 20, 2024

Closes #498.

This pull request addresses Issue #498, focusing on enhancing the GitHub workflow to trigger deployment to the dev branch upon the creation of a new tag that matches the specified pattern refs/tags/dev-. The changes consist of creating a new workflow configuration file, deploy-dev-from-tag.yml, to automate the deployment process and distinguish between automatic triggering and manual activation. This modification aims to improve automation efficiency and streamline deployment procedures for the repository.

The implemented changes introduce a new workflow configuration file, deploy-dev-from-tag.yml, enabling the automated triggering of deployments when a new tag following the pattern refs/tags/dev- is created. Additionally, the workflow has been updated to differentiate between automated and manual activation to provide flexibility in deployment initiation. This adjustment ensures that tag creation events satisfying the specified pattern trigger the workflow automatically, while still allowing manual activation when needed. The enhancements aim to accelerate deployment procedures and maintain control over the workflow activation process.

@placek placek self-assigned this Mar 20, 2024
@placek placek linked an issue Mar 20, 2024 that may be closed by this pull request
4 tasks
.github/workflows/deploy-dev-from-tag.yml Outdated Show resolved Hide resolved
…tag is created (from a specific pattern)

The existing GitHub workflow has been modified to introduce automated
triggering for deployments to the `dev` branch on the development server
upon the creation of a new tag that matches the pattern
`refs/tags/dev-`. The workflow can now distinguish between automated
activation triggered by specific tag creation and manual activation by
the user. By adding a new workflow configuration file,
`.github/workflows/deploy-dev-from-tag.yml`, the automation process for
deployments has been enhanced to react promptly to tag creation events
following the specified pattern.

Changes:
- Created a new GitHub workflow configuration file,
  `deploy-dev-from-tag.yml`, to facilitate automated deployment
  activation based on tag creation matching the predefined pattern
  `refs/tags/dev-`.
- Configured the workflow to differentiate between automated triggering
  upon tag creation and manual activation.
- Updated the workflow to respond effectively to tag creation events
  following the specified pattern, ensuring seamless deployment
  processes and providing the flexibility of manual activation as
  required.
@placek placek force-pushed the feat/498-modify-github-workflow-to-trigger-on-new-tags-matching-pattern branch from d5e28e4 to 6fe53f9 Compare March 21, 2024 06:15
@placek placek merged commit fd23bf4 into develop Mar 21, 2024
@placek placek deleted the feat/498-modify-github-workflow-to-trigger-on-new-tags-matching-pattern branch March 21, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify Github Workflow to trigger on new tags matching pattern
2 participants