devops: single build step; remove build.yml.bkup
This commit is contained in:
parent
006fe3fe21
commit
16ab6d5e66
2 changed files with 1 additions and 27 deletions
|
@ -18,12 +18,10 @@ tasks:
|
|||
- install-deps: |
|
||||
cd ~/"${REPO}"
|
||||
pnpm i --ignore-scripts
|
||||
- build-local-deps: |
|
||||
- build: |
|
||||
cd ~/"${REPO}"
|
||||
pnpm -F ./packages/core build
|
||||
pnpm -F ./packages/config build
|
||||
- build: |
|
||||
cd ~/"${REPO}"
|
||||
pnpm -F site i --ignore-scripts
|
||||
pnpm -F site build
|
||||
- deploy: |
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
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