Git clone task

pull/218/head
Frostebite 2021-02-05 23:33:28 +00:00
parent 8cf32b1638
commit 5bf4de18ce
2 changed files with 2 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,20 +11,7 @@ class AWS {
await this.run(
buildParameters.awsStackName,
'alpine/git',
[
'/bin/sh',
'-c',
`apk update;
apk add git-lfs;
ls ./;
export GITHUB_TOKEN=$(cat /credentials/GITHUB_TOKEN);
cd /data;
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo;
git clone https://github.com/webbertakken/unity-builder.git builder;
cd repo;
git checkout $GITHUB_SHA;
ls`,
],
['clone', `https://github.com/${process.env.GITHUB_REPOSITORY}.git`, `repo`],
[
{
name: 'GITHUB_SHA',