fix: change deploy workflow again
Some checks failed
Deploy Blog / deploy (push) Failing after 1m2s

This commit is contained in:
Thomas Bishop 2025-07-08 16:45:18 +01:00
parent 1cd575cfdb
commit 55fe835270

View file

@ -1,4 +1,23 @@
name: Deploy site
# name: Deploy site
# on:
# push:
# branches: [main]
# jobs:
# deploy:
# runs-on: ubuntu-latest
# container: node:18
# steps:
# - uses: actions/checkout@v3
# - run: npm install
# - run: npm run build:posts
# - run: npm run build
# - run: |
# cp -r dist/* /var/www/systemsobscure.blog/
# chown -R www-data:www-data /var/www/systemsobscure.blog/
#
name: Deploy Blog
on:
push:
branches: [main]
@ -6,12 +25,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
container: node:18
container:
image: node:18
volumes:
- /var/www:/var/www
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm run build:posts
- run: npm run build
- run: |
cp -r dist/* /var/www/systemsobscure.blog/
chown -R www-data:www-data /var/www/systemsobscure.blog/
- run: cp -r dist/* /var/www/systemsobscure.blog/