Compare commits

...

2 Commits

Author SHA1 Message Date
6741f8cac2
main: Add route to get site count
All checks were successful
Build Docker / Build Master (push) Successful in 24s
Build Docker / Build Bot (push) Successful in 22s
2023-09-18 14:42:43 +10:00
0365832e40
actions: Build release for arm 2023-09-18 14:38:37 +10:00
2 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
Build Master:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest,arm]
steps:
- name: Checkout
uses: actions/checkout@v2
@ -34,7 +34,7 @@ jobs:
docker push git.woodburn.au/nathanwoodburn/hnshosting-master:release
Build Bot:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest,arm]
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -562,7 +562,10 @@ def success():
return render_template('success.html')
@app.route('/site-count')
def site_count_route():
return str(get_sites_count())
# Admin page