|
|
|
@ -55,6 +55,7 @@ steps:
|
|
|
|
|
- cd www
|
|
|
|
|
- sed -i 's/<base href="\\/" \\/>/<base href="\\/i\\/"\\/>/' index.html
|
|
|
|
|
- sed -i 's/Ionic App/Noded/' index.html
|
|
|
|
|
- echo -n '${DRONE_TAG}-staging' | sudo tee version.html
|
|
|
|
|
when:
|
|
|
|
|
event: promote
|
|
|
|
|
target: staging
|
|
|
|
@ -92,6 +93,7 @@ steps:
|
|
|
|
|
- cd www
|
|
|
|
|
- sed -i 's/<base href="\\/" \\/>/<base href="\\/i\\/"\\/>/' index.html
|
|
|
|
|
- sed -i 's/Ionic App/Noded/' index.html
|
|
|
|
|
- echo -n '${DRONE_TAG}-prod' | sudo tee version.html
|
|
|
|
|
when:
|
|
|
|
|
event: promote
|
|
|
|
|
target: production
|
|
|
|
|