You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bugfix/deploy workflow (#46)
This pull request simplifies the GitHub Actions workflows by consolidating functionality, removes unused workflows, and adds support for local testing of workflows. Below are the most important changes grouped by theme:
### Workflow Simplification and Consolidation:
* Removed the `release` trigger and associated `if` conditions in `.github/workflows/deploy.yml`, simplifying the workflow to rely only on `push` and `workflow_dispatch` events.
* Deleted the `.github/workflows/release.yml` file, consolidating its functionality into the `deploy.yml` workflow.
### Improvements to Workflow Behavior:
* Updated the concurrency group in `.github/workflows/deploy.yml` to use `${{ github.sha }}` instead of `${{ github.ref }}`, ensuring uniqueness per commit.
* Adjusted the artifact download path for the `deploy-cv` job in `.github/workflows/deploy.yml` to use the root directory instead of a specific file path.
### Local Testing Support:
* Added instructions to `README.md` for testing workflows locally using `act` and `gh` tools, along with caveats about untested workflows.
* Updated `flake.nix` to include `act` and `gh` for local testing of GitHub Actions.
* Added a new script `scripts/sh/test-workflow.sh` to facilitate local testing of workflows.