diff options
-rw-r--r-- | .github/workflows/ci-deploy.yml | 10 | ||||
-rw-r--r-- | assets/root/_config.yml | 1 | ||||
-rw-r--r-- | dist/_config.yml | 1 | ||||
-rwxr-xr-x | dist/js/app.js | 2 | ||||
-rwxr-xr-x | dist/pages/about.html | 2 | ||||
-rwxr-xr-x | dist/sw.js | 4 |
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> @@ -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! |