-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from clouddrove/internal_502_3
Internal 502 3
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
function toc { | ||
|
||
git config --global user.name clouddrove-ci | ||
git config --global user.email "anmol+ci@clouddrove.com" | ||
# Add an exception for the /github/workspace/new-workflow directory | ||
git config --global --add safe.directory /github/workspace/new-workflow | ||
export GITHUB_ACCESS_TOKEN=$1 | ||
MODULES=$2 | ||
mkdir -p new-workflow | ||
cd .. && rsync -av --progress workspace/. /github/workspace/new-workflow --exclude new-workflow && cd /github/workspace/new-workflow | ||
cd .. && cd .. && cd .. | ||
git clone https://$1@github.com/clouddrove/genie.git | ||
cd genie | ||
pwd && ls -la | ||
cd /github/workspace/new-workflow | ||
pwd && ls -la | ||
make toc/deps | ||
make toc include_modules="$MODULES" | ||
git add . | ||
git commit -m "feat: update toc readme file" | ||
|
||
} |