Skip to content

Commit

Permalink
Update generate-aowow-database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias authored Nov 4, 2024
1 parent 3aca5bb commit 8d3effc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/generate-aowow-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,7 +34,7 @@ jobs:
cd ../setup/
# bash generate-db.sh
bash generate-db.sh
cd ..
Expand All @@ -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
Expand Down

0 comments on commit 8d3effc

Please sign in to comment.