This commit is contained in:
@@ -8,7 +8,8 @@ jobs:
|
|||||||
runs-on: pusher
|
runs-on: pusher
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- /root/repos:/root/repos
|
- /repos:/repos
|
||||||
|
- /www/jeopardy:/content
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js & npm
|
- name: Install Node.js & npm
|
||||||
run: |
|
run: |
|
||||||
@@ -20,11 +21,12 @@ jobs:
|
|||||||
ip addr show eth0
|
ip addr show eth0
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd /root/repos/music-jeopardy
|
cd /repos/music-jeopardy
|
||||||
git pull
|
git pull
|
||||||
npm ci
|
npm ci
|
||||||
- name: Build production bundle
|
- name: Build production bundle
|
||||||
run: |
|
run: |
|
||||||
cd /root/repos/music-jeopardy
|
cd /repos/music-jeopardy
|
||||||
npm run generate:data
|
npm run generate:data
|
||||||
npm run build
|
npm run build
|
||||||
|
cp -r /repos/music-jeopardy/dist/* /content
|
||||||
|
|||||||
Reference in New Issue
Block a user