chore: remove sr.ht build.yml
This commit is contained in:
parent
4b521a9cf0
commit
44b22a9918
2 changed files with 1 additions and 39 deletions
38
.build.yml
38
.build.yml
|
|
@ -1,38 +0,0 @@
|
||||||
image: alpine/edge
|
|
||||||
packages:
|
|
||||||
- nodejs
|
|
||||||
- npm
|
|
||||||
- pnpm
|
|
||||||
secrets:
|
|
||||||
- 34883663-8684-41cb-9920-8e96345ef166
|
|
||||||
- bbfcb6dc-7c4a-42ee-a11a-022f0339a133
|
|
||||||
environment:
|
|
||||||
NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6
|
|
||||||
GH_USER: ayoayco
|
|
||||||
REPO: mcfly
|
|
||||||
tasks:
|
|
||||||
- push-mirror: |
|
|
||||||
cd ~/"${REPO}"
|
|
||||||
git config --global credential.helper store
|
|
||||||
git push --mirror "https://github.com/${GH_USER}/${REPO}"
|
|
||||||
- install-deps: |
|
|
||||||
cd ~/"${REPO}"
|
|
||||||
pnpm i --ignore-scripts
|
|
||||||
- test: |
|
|
||||||
cd ~/"${REPO}"
|
|
||||||
npx vitest run
|
|
||||||
- build: |
|
|
||||||
cd ~/"${REPO}"
|
|
||||||
pnpm -F ./packages/core build
|
|
||||||
pnpm -F ./packages/config build
|
|
||||||
pnpm -F site i --ignore-scripts
|
|
||||||
pnpm -F site build
|
|
||||||
- deploy: |
|
|
||||||
cd mcfly
|
|
||||||
{
|
|
||||||
set +x
|
|
||||||
. ~/.buildsecrets
|
|
||||||
set -x
|
|
||||||
}
|
|
||||||
export NETLIFY_AUTH_TOKEN
|
|
||||||
pnpm -F site run deploy
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
echo "post-commit"
|
echo "post-commit..."
|
||||||
git push gh --mirror
|
git push gh --mirror
|
||||||
git push sh --mirror
|
git push sh --mirror
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue