From f06c1210549f0e6c81b72c6f51b811304e8cd7c4 Mon Sep 17 00:00:00 2001 From: rstular Date: Tue, 2 Jun 2020 16:01:05 +0200 Subject: Github actions fix --- .github/workflows/ci-deploy.yml | 4 ++-- dist/js/app.js | 2 +- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-deploy.yml b/.github/workflows/ci-deploy.yml index 505cf14..b36be84 100644 --- a/.github/workflows/ci-deploy.yml +++ b/.github/workflows/ci-deploy.yml @@ -22,8 +22,8 @@ jobs: ref: master - name: Replace files run: | - rm -r * - mv /tmp/dist/* . + rm -r .[!.]* + mv /tmp/dist/.[!.]* . - name: Commit files run: | git config --local user.email "action@github.com" diff --git a/dist/js/app.js b/dist/js/app.js index fee75c0..6937790 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 = "27ede7420105f36a934d578eb62f5240fc6e858c"; +const previous_commit = "35b595f806f99ca18365d511ab820ab818da348d"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") diff --git a/dist/pages/about.html b/dist/pages/about.html index f6b9abc..6405a1d 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@

- ^HEAD 27ede7420105f36a934d578eb62f5240fc6e858c + ^HEAD 35b595f806f99ca18365d511ab820ab818da348d

diff --git a/dist/sw.js b/dist/sw.js index 0ea514c..9c15e74 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-27ede74"; -// commit before the latest is 27ede7420105f36a934d578eb62f5240fc6e858c +const static_cache_name = "site-static-1.0.14-beta-35b595f"; +// commit before the latest is 35b595f806f99ca18365d511ab820ab818da348d // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3