📖 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
Proxying to an HTTPS backend in Nginx? Don't forget this one directive: location / { proxy_pass https://backend.example.com; proxy_ssl_server_name on; #…
1 min readManaging multiple feature branches in a Laravel project can be tedious—especially when you need to rebase them all onto master…
3 min readHere's a pattern I use in nearly every Docker project: create scripts at build time, execute them at runtime. The…
2 min read
Leave a Reply