Git clone task
parent
8cf32b1638
commit
5bf4de18ce
File diff suppressed because one or more lines are too long
|
|
@ -11,20 +11,7 @@ class AWS {
|
||||||
await this.run(
|
await this.run(
|
||||||
buildParameters.awsStackName,
|
buildParameters.awsStackName,
|
||||||
'alpine/git',
|
'alpine/git',
|
||||||
[
|
['clone', `https://github.com/${process.env.GITHUB_REPOSITORY}.git`, `repo`],
|
||||||
'/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`,
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: 'GITHUB_SHA',
|
name: 'GITHUB_SHA',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue