updated workflow to deploy to nginx when build succeeds.
All checks were successful
Build / build (push) Successful in 5m5s
All checks were successful
Build / build (push) Successful in 5m5s
This commit is contained in:
parent
61baf82771
commit
81af267a29
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -21,3 +21,8 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: "--max-old-space-size=2048"
|
NODE_OPTIONS: "--max-old-space-size=2048"
|
||||||
|
|
||||||
|
- name: Deploy to nginx
|
||||||
|
run: |
|
||||||
|
rm -rf /var/www/localhost/space/*
|
||||||
|
cp -r dist/* /var/www/localhost/space/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user