19 lines
317 B
YAML
19 lines
317 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build_deploy
|
|
privileged: true
|
|
image: stagex/npm:latest
|
|
volumes:
|
|
- name: bonfire
|
|
path: /bonfire:/bonfire
|
|
commands:
|
|
- npm install
|
|
- npm run build
|
|
- cp -r ./build/* /bonfire/
|
|
- ls .
|
|
- ls /
|
|
- ls /bonfire/
|
|
- cat /bonfire/index.html
|