forked from Sarjuuk/aowow
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
jobs: | ||
generate-aowow-db: | ||
permissions: write-all | ||
runs-on: ubuntu-24.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -34,7 +34,7 @@ jobs: | |
cd ../setup/ | ||
# bash generate-db.sh | ||
bash generate-db.sh | ||
cd .. | ||
|
@@ -50,9 +50,9 @@ jobs: | |
python auto-update.py ${{ secrets.FTP_PASSWORD }} | ||
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;"` | ||
release_name=$(date '+%Y-%m-%d_%H-%M-%S') | ||
gh release create $release_name --title "$release_name" --notes "Revision: [$revision](https://github.com/azerothcore/azerothcore-wotlk/commit/$revision)" | ||
gh release upload $release_name "aowow_db.sql.zip" | ||
# release_name=$(date '+%Y-%m-%d_%H-%M-%S') | ||
# gh release create $release_name --title "$release_name" --notes "Revision: [$revision](https://github.com/azerothcore/azerothcore-wotlk/commit/$revision)" | ||
# gh release upload $release_name "aowow_db.sql.zip" | ||
curl --user wowgaming:${{ secrets.FTP_PASSWORD }} ftp://[email protected]/aowow/template/pages/home.tpl.php >> home.tpl.php | ||
|