mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
play: use https for cloning
This commit is contained in:
parent
e493557d68
commit
c3b1e4fbea
1 changed files with 3 additions and 3 deletions
|
@ -18,15 +18,15 @@ clone() {
|
|||
configure_git() {
|
||||
git config --global user.name "pokeapi-machine-user"
|
||||
git config --global user.email pokeapi.co@gmail.com
|
||||
chown "$USER" ~/.ssh/config
|
||||
chmod 644 ~/.ssh/config
|
||||
# chown "$USER" ~/.ssh/config
|
||||
# chmod 644 ~/.ssh/config
|
||||
}
|
||||
|
||||
run_updater() {
|
||||
sleep 10 # Wait to be sure PokeAPI/pokeapi:origin/master has been updated on Github with the lastest merged PR content
|
||||
cd "${data_repo}/updater" || exit
|
||||
docker build -t pokeapi-updater .
|
||||
docker run --privileged -v ~/.ssh:/root/.ssh -e COMMIT_EMAIL=pokeapi.co@gmail.com -e COMMIT_NAME="pokeapi-machine-user" -e BRANCH_NAME="$branch_name" pokeapi-updater
|
||||
docker run --privileged -v ~/.ssh:/root/.ssh -e COMMIT_EMAIL=pokeapi.co@gmail.com -e COMMIT_NAME="pokeapi-machine-user" -e BRANCH_NAME="$branch_name" -e REPO_POKEAPI 'https://github.com/PokeAPI/pokeapi.git' -e REPO_DATA 'https://github.com/PokeAPI/api-data.git' pokeapi-updater
|
||||
cd .. || exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue