Skip to content

Commit f0a1d15

Browse files
authored
ci: update auto-update scripts
1 parent cce8bc9 commit f0a1d15

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/generate-aowow-database.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
python auto-update.py ${{ secrets.FTP_PASSWORD }}
5151
5252
revision=`mysql -u root -ppassword -P 63306 -h 127.0.0.1 -s -N -e "SELECT substring_index(substring_index(revision, 'rev. ', -1), '+ 2', 1) FROM acore_auth.uptime ORDER BY starttime DESC LIMIT 1;"`
53-
# release_name=$(date '+%Y-%m-%d_%H-%M-%S')
54-
# gh release create $release_name --title "$release_name" --notes "Revision: [$revision](https://github.com/azerothcore/azerothcore-wotlk/commit/$revision)"
55-
# gh release upload $release_name "aowow_db.sql.zip"
53+
release_name=$(date '+%Y-%m-%d_%H-%M-%S')
54+
gh release create $release_name --title "$release_name" --notes "Revision: [$revision](https://github.com/azerothcore/azerothcore-wotlk/commit/$revision)"
55+
gh release upload $release_name "aowow_db.sql.zip"
5656
5757
curl --user wowgaming:${{ secrets.FTP_PASSWORD }} ftp://[email protected]/aowow/template/pages/home.tpl.php >> home.tpl.php
5858

setup/auto-update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ def wait_until(value, byval=By.ID) -> None:
7878
driver.find_element(By.NAME, "dump").send_keys(os.getcwd()+"/aowow_update.sql.zip")
7979
sleep(3)
8080
driver.find_element(By.ID, "start").click()
81-
sleep(100)
81+
sleep(300)
8282
print("aowow_update.sql loaded!")
8383

8484
driver.find_element(By.NAME, "dump").send_keys(os.getcwd()+"/acore_world.sql.zip")
8585
sleep(3)
8686
driver.find_element(By.ID, "start").click()
87-
sleep(100)
87+
sleep(300)
8888
print("acore_world.sql loaded!")
8989

9090
driver.close()

0 commit comments

Comments
 (0)