mirror of
https://github.com/PokeAPI/pokeapi
synced 2025-02-16 12:38:25 +00:00
play: move git commands
This commit is contained in:
parent
628058e372
commit
a84a48e8f2
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,6 @@ prepare() {
|
|||
|
||||
clone() {
|
||||
git clone "https://github.com/$org/$data_repo.git" "$data_repo"
|
||||
git fetch
|
||||
git checkout test
|
||||
}
|
||||
|
||||
configure_git() {
|
||||
|
@ -27,6 +25,8 @@ configure_git() {
|
|||
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
|
||||
git fetch
|
||||
git checkout test
|
||||
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" -e REPO_POKEAPI="https://github.com/PokeAPI/pokeapi.git" -e REPO_DATA="https://github.com/PokeAPI/api-data.git" pokeapi-updater
|
||||
cd .. || exit
|
||||
|
|
Loading…
Add table
Reference in a new issue