Mirror to GitHub
This commit is contained in:
parent
b4c4cc2148
commit
2d41177b43
|
@ -2,11 +2,14 @@ image: alpine/edge
|
||||||
secrets:
|
secrets:
|
||||||
- ea81f650-6b7e-4cbb-862b-b39195858bfd
|
- ea81f650-6b7e-4cbb-862b-b39195858bfd
|
||||||
- 50b9ba48-c450-43df-a46d-01e2cf0ef9c1
|
- 50b9ba48-c450-43df-a46d-01e2cf0ef9c1
|
||||||
|
- 921891a4-e0a9-4753-9275-b010d2e2520a
|
||||||
packages:
|
packages:
|
||||||
- nodejs
|
- nodejs
|
||||||
- npm
|
- npm
|
||||||
sources:
|
sources:
|
||||||
- git@git.sr.ht:~gmem/well-known-fursona
|
- git@git.sr.ht:~gmem/well-known-fursona
|
||||||
|
environment:
|
||||||
|
GITHUB_REPO: "gmemstr/osc-triggers"
|
||||||
tasks:
|
tasks:
|
||||||
- vercel-deploy: |
|
- vercel-deploy: |
|
||||||
set +x
|
set +x
|
||||||
|
@ -31,3 +34,8 @@ tasks:
|
||||||
echo "Deploying to preview"
|
echo "Deploying to preview"
|
||||||
vercel deploy --token $VERCEL_API_TOKEN
|
vercel deploy --token $VERCEL_API_TOKEN
|
||||||
fi
|
fi
|
||||||
|
- mirror-to-github: |
|
||||||
|
cd well-known-fursona
|
||||||
|
git remote add github git@github.com:$GITHUB_REPO.git
|
||||||
|
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
|
git push --mirror github
|
||||||
|
|
Loading…
Reference in a new issue