Exit on any failed command
All checks were successful
Build Eleventy Site / build (push) Successful in 1m21s

This commit is contained in:
Devon Campbell 2026-06-08 23:28:41 -04:00
commit 40c9697eff

View file

@ -30,6 +30,7 @@ jobs:
- name: Move built site - name: Move built site
run: | run: |
set -e # Exit on any error
if [ "${{ github.ref }}" = "refs/heads/main" ]; then if [ "${{ github.ref }}" = "refs/heads/main" ]; then
echo "Deploying production..." echo "Deploying production..."
rm -rf /sites/devon.lol && mkdir /sites/devon.lol && mv dist/* /sites/devon.lol rm -rf /sites/devon.lol && mkdir /sites/devon.lol && mv dist/* /sites/devon.lol