Fix build location
Some checks failed
Build Eleventy Site / build (push) Failing after 1m34s

This commit is contained in:
Devon Campbell 2025-03-03 22:15:14 -05:00
commit 5816f68410

View file

@ -22,14 +22,16 @@ jobs:
run: npm install run: npm install
- name: Build Eleventy site - name: Build Eleventy site
run: npm run build # Adjust this command if your build command is different run: npm run build
- name: Move built site - name: Move built site
run: | run: |
if [ "${{ github.ref }}" == "refs/heads/main" ]; then if [ "${{ github.ref }}" == "refs/heads/main" ]; then
mv _site/* /media/Media/apps/personal-site/prod/ echo "Deploying production..."
mv dist/* /media/Media/apps/personal-site/prod/
echo "Running webmention..." echo "Running webmention..."
webmention dist/feed.xml --send webmention dist/feed.xml --send
else else
mv _site/* /media/Media/apps/personal-site/staging/ echo "Deploying staging..."
mv dist/* /media/Media/apps/personal-site/staging/
fi fi