Deploy / Update Workflows via Git, API, CLI
See original GitHub issueI want to write and test workflows on my local machine, storing the workflow’s code in my existing version control system.
I also want to programmatically deploy workflows using a CLI, for example using a command like pipedream deploy
. This way, I can deploy workflows locally or as part of my CI/CD pipeline.
Related: #1139
Issue Analytics
- State:
- Created 4 years ago
- Reactions:109
- Comments:22 (6 by maintainers)
Top Results From Across the Web
Automate your CI/CD workflow using CLI GitHub Actions
GitHub Actions help you automate your software development workflows in the same place you store code and collaborate on pull requests and issues....
Read more >Work with GitHub Actions in your terminal with GitHub CLI
Runs in GitHub Actions are defined by workflow files in YAML format living in .github/workflows in your repository. A workflow file describes a ......
Read more >Using the PlanetScale CLI with GitHub Actions workflows
Steps to create your own GitHub Action workflow with pscale CLI · { · DB_NAME=$1 · BRANCH_NAME=$2 · ORG_NAME=$3 · `pscale deploy-request create...
Read more >Configure CI/CD with GitHub Actions - Azure App Service
You can quickly get started with GitHub Actions by using the App Service Deployment Center. This will automatically generate a workflow file ...
Read more >Using the GitHub Checks API to Link Workflow Statuses in a PR
The label update workflow calls the deployment workflow via the workflow_dispatch event; The label job shows up as a status check in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding a comment from #857 here. When we support an API / CLI for deploying workflows, we plan to also let you serialize workflows to plaintext (e.g. JavaScript code with some config locally), which means you’d be able to store them in Git. That feature would enable the request below.
"For testing my workflow with a real case, I need to deploy my code, so everytime I test something I create a new version of the workflow. My workflow ends up with lots of versions. Most of them have bugs or are here for testing/debugging Sometimes I want to go back to a specific version but I can’t remember which one it was, it can be 10 versions back or more, it’s hard to identify versions and difference between them
Describe the solution you’d like Something closer to real code versioning, so more like git commits:
being able to add a comment to a version. This would be a “quick win”, as I could just tag a revision that I know is working before creating more revisions, So I can easily come back to it even if I created many revisions after. Nice to have: being able to compare 2 versions of a workflow"
@sjn001tvh and anyone else that needs it, you can hit https://api.pipedream.com/v1/users/me/workflows (use the
Authorization: Bearer ...
header from the settings page) to download a JSON array of your workflows, including custom code in any components.