update database files

This commit is contained in:
asandikci (docker) 2025-01-26 20:54:12 +00:00
parent 0ed8477b5b
commit 165ec0f818
6 changed files with 28 additions and 6 deletions

View file

@ -7,20 +7,22 @@ jobs:
runs-on: docker
container:
image: git.asandikci.com/docker-images/website_builder:latest # actually no need to new image?
steps:
steps:
- name: Git Clone
run: |
git clone https://git.asandikci.com/MaintainTeam/HypatiaDatabases.git
cd HypatiaDatabases
ls -la
# - name: Generate Databases
# run: |
# cd scripts
# bash generate databases.sh # or databases.java ?
# bash generate databases.sh #
# NOTE : I generated database files in docker in my computer locally. (Created a maven project and run Main.java)
# After I completely understand the scripts and generation process I'll add this steps/files to this repo/CI
#
# assume this step generates all files to databases/generated/ directory, for now I am using old_generated_files_for_test/ directory, change this later
- name: Push Databases to "static" branch
run: |
mkdir static && cd static
@ -29,7 +31,7 @@ jobs:
git checkout static
rm -rfv ./databases/
mkdir databases
cp -rfv ../../HypatiaDatabases/old_generated_files_for_test/* ./databases/
cp -rfv ../../HypatiaDatabases/production/* ./databases/
git config --global user.name "Aliberk Sandıı (CI)"
git config --global user.email git+ci@asandikci.com
git add -A
@ -61,4 +63,4 @@ jobs:
## TODO: see https://git.asandikci.com/asandikci.com/web/issues/10 for ftp related ...
# CURRENTLY USING PURE STFP FOR AUTH ONLY
# TODO: CHANGE THIS
# TODO: CHANGE THIS

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

20
production/index.html Normal file
View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- Umami | I just use this for counting how many users use this service, you can block analytics.yayindasin.org domain to disable telemetry -->
<script defer src="https://analytics.yayindasin.org/script.js"
data-website-id="b739a3d8-e258-4474-808e-5451e3d85f42"></script>
<title>Hypatia Databases</title>
</head>
<body>
Hypatia Databases<br>
generated from https://git.asandikci.com/MaintainTeam/HypatiaDatabases , currently testing - not stable !<br>
get databases from with this link: https://hypatia.services.yayindasin.org/databases/DATABASE_NAME<br>
see /info.txt for generation info<br>
</body>