summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-06-03 20:28:07 +0200
committersijanec <sijanecantonluka@gmail.com>2020-06-03 20:28:07 +0200
commit675577c8e5a20cb095712779d97dc37fbd556de1 (patch)
tree9e50ddae949a4b8101f040109e82802710aa3bd0
parentslovnična napaka, datatype messages storage fix, message card css fix (diff)
parentAdd .well-known to GH pages (diff)
downloadbeziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar.gz
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar.bz2
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar.lz
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar.xz
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.tar.zst
beziapp-675577c8e5a20cb095712779d97dc37fbd556de1.zip
-rw-r--r--.github/workflows/ci-deploy.yml10
-rw-r--r--assets/root/_config.yml1
-rw-r--r--dist/_config.yml1
-rwxr-xr-xdist/js/app.js2
-rwxr-xr-xdist/pages/about.html2
-rwxr-xr-xdist/sw.js4
6 files changed, 12 insertions, 8 deletions
diff --git a/.github/workflows/ci-deploy.yml b/.github/workflows/ci-deploy.yml
index b36be84..76bdcfd 100644
--- a/.github/workflows/ci-deploy.yml
+++ b/.github/workflows/ci-deploy.yml
@@ -22,12 +22,14 @@ jobs:
ref: master
- name: Replace files
run: |
- rm -r .[!.]*
- mv /tmp/dist/.[!.]* .
+ rm -r * || true
+ rm -r .well-known
+ mv /tmp/dist/.well-known .
+ mv /tmp/dist/* .
- name: Commit files
run: |
- git config --local user.email "action@github.com"
- git config --local user.name "GitHub CI Action"
+ git config --global user.email "action@github.com"
+ git config --global user.name "GitHub CI Action"
git add -A
git commit -m "Mirror change from release"
- name: Push changes
diff --git a/assets/root/_config.yml b/assets/root/_config.yml
new file mode 100644
index 0000000..68730c9
--- /dev/null
+++ b/assets/root/_config.yml
@@ -0,0 +1 @@
+include: [".well-known"]
diff --git a/dist/_config.yml b/dist/_config.yml
new file mode 100644
index 0000000..68730c9
--- /dev/null
+++ b/dist/_config.yml
@@ -0,0 +1 @@
+include: [".well-known"]
diff --git a/dist/js/app.js b/dist/js/app.js
index ba88f69..053135a 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.14-beta";
-const previous_commit = "66c0f48bf8411f611573eaa7f3b43a2a6e6173a2";
+const previous_commit = "20505fc48713c600c345814d4a9c2e0747c77152";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/pages/about.html b/dist/pages/about.html
index 7a671dd..ebbcfeb 100755
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -142,7 +142,7 @@
<div class="row">
<p>
<small>
- ^HEAD 66c0f48bf8411f611573eaa7f3b43a2a6e6173a2
+ ^HEAD 20505fc48713c600c345814d4a9c2e0747c77152
</small>
</p>
</div>
diff --git a/dist/sw.js b/dist/sw.js
index 898ae19..4c1211f 100755
--- a/dist/sw.js
+++ b/dist/sw.js
@@ -3,8 +3,8 @@
// Change version to cause cache refresh
-const static_cache_name = "site-static-1.0.14-beta-66c0f48";
-// commit before the latest is 66c0f48bf8411f611573eaa7f3b43a2a6e6173a2
+const static_cache_name = "site-static-1.0.14-beta-20505fc";
+// commit before the latest is 20505fc48713c600c345814d4a9c2e0747c77152
// Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js
// sw.js NE SME BITI CACHAN, ker vsebuje verzijo!