๐ 1 minute read
Joel Clermont shared a great tip today about the GitHub CLI.
Instead of constantly refreshing the Actions tab in your browser, you can use:
“`bash
gh run watch –exit-status
“`
This gives you a live checklist in your terminal. The `–exit-status` flag is the keyโit makes the CLI exit with a non-zero code if the run fails, which is perfect for chaining commands like:
“`bash
gh run watch –exit-status && say “Deploying!”
“`
Daryle De Silva
VP of Technology
11+ years building and scaling web applications. Writing about what I learn in the trenches.
Related Articles
Enabled systemd=true in WSL2 and suddenly your boot commands stopped working? Yeah, that's by design. The boot command in wsl.conf…
1 min readEver need to clean up your Git history but keep the files locally? Here's a trick I used recently. I…
1 min readWhen managing releases via git tags, use git tag –contains <commit-sha> to check if specific code has been deployed yet….
1 min read
Leave a Reply