chore: test build
This commit is contained in:
parent
5b8da8f2c9
commit
5f5aa3abec
2 changed files with 28 additions and 22 deletions
26
.build.yml
26
.build.yml
|
@ -1,24 +1,6 @@
|
|||
image: archlinux
|
||||
packages:
|
||||
- nodejs
|
||||
- npm
|
||||
secrets:
|
||||
- 46f739e5-4538-45dd-a79f-bf173b7a2ed9
|
||||
environment:
|
||||
NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6
|
||||
tasks:
|
||||
- setup: |
|
||||
cd "mcfly/site"
|
||||
npm i
|
||||
- build: |
|
||||
cd "mcfly/site"
|
||||
NODE_ENV=production npm run build
|
||||
- deploy: |
|
||||
cd "mcfly/site"
|
||||
{
|
||||
set +x
|
||||
. ~/.buildsecrets
|
||||
set -x
|
||||
}
|
||||
export NETLIFY_AUTH_TOKEN
|
||||
npm run deploy
|
||||
- say-hello: |
|
||||
echo hello
|
||||
- say-world: |
|
||||
echo world
|
||||
|
|
24
.build.yml.bkup
Normal file
24
.build.yml.bkup
Normal file
|
@ -0,0 +1,24 @@
|
|||
image: archlinux
|
||||
packages:
|
||||
- nodejs
|
||||
- npm
|
||||
secrets:
|
||||
- 46f739e5-4538-45dd-a79f-bf173b7a2ed9
|
||||
environment:
|
||||
NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6
|
||||
tasks:
|
||||
- setup: |
|
||||
cd mcfly/site
|
||||
npm i
|
||||
- build: |
|
||||
cd mcfly/site
|
||||
NODE_ENV=production npm run build
|
||||
- deploy: |
|
||||
cd mcfly/site
|
||||
{
|
||||
set +x
|
||||
. ~/.buildsecrets
|
||||
set -x
|
||||
}
|
||||
export NETLIFY_AUTH_TOKEN
|
||||
npm run deploy
|
Loading…
Reference in a new issue