Reading List
The most recent articles from a list of feeds I subscribe to.
Keeping Forge deploy script in version control
I love Laravel Forge's quick deploy scripts. Forge allows you to set up a deploy script in their web interface and run it when you push to a git branch. However, I generally prefer to keep orchestration in the git repository. It's nice to have history, and I don't want to visit Forge whenever I want to make a change to the deploy script.
An elegant solution: move the script to a file. I created a deploy.sh and call it from Forge.

My deploy script isn't too bulky for now. It runs composer install and npm ci for dependencies, builds assets, clears the cache, caches config files, and does a safe restart of the php fpm process.
composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader npm cinpm run build php artisan cache:clearphp artisan config:cache ( flock -w 10 9 || exit 1 echo 'Restarting FPM...'; sudo -S service php8.2-fpm reload ) 9>/tmp/fpmlock
Which I call from Forge:
cd /home/forge/full-stack-artisan.devgit pull origin $FORGE_SITE_BRANCH ./deploy.sh
Don't forget to make deploy.sh executable before use.
chmod +x deploy.sh
Whenever I need to tweak the deploy script, I can update it from my text editor and git push.
Three weeks.
You Deserve a Tech Union’s launch feels like it was just yesterday! What is time anymore
Labor’s day.
Some tech unions could use our support.
Month notes, August 2023
I absolutely gave up on weeknotes last year, but I have sort of missed doing some type of regularly scheduled update, so I'm making it easier on myself by not having to think in small increments - because sometimes nothing happens in a week. So, here's some recent things for mostly August, and I reserve the right to do whatever time frame I fancy in the future.
- I passed my 10 year anniversary in San Francisco - so I should have done a weeknotes especially for that (522 weeks, or something?).
- I really did start counting because I thought it was going to be more like 3 to 5.
- This month I had my first group art show! The Wave Collective Space has been showing my paintings for the last couple weeks and will do into next month.
- If you've been paying attention, you'll realise that technically wasn't my first show, because I did display some paintings with the Jean Henry School of Art when I was on sabbatical after Code for America broke me, but I don't really think of those paintings as art, so much as things I made to learn to oil paint. The things I put in the Wave show were art I made just to make myself happy.
- I say happy, but I continue to be too embarrased to actually speak to anyone about painting in an IRL situation. I went to a gallery show last weekend (and bought an oil painting) and the artist was there and she was this incredibly articulate and thoughtful speaker about her art (and young!) and it just blew my mind. All my role models are youth.