mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-28 05:48:34 +01:00
Compare commits
No commits in common. "c5d8df7e8af0567d847c6ce95935bfd9543760f3" and "685233c73ed8f0d2970843a64ae8e431d008858a" have entirely different histories.
c5d8df7e8a
...
685233c73e
4 changed files with 2 additions and 41 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -39,11 +39,6 @@ jobs:
|
||||||
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
|
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
|
||||||
mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
||||||
rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' web/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifegame
|
rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' web/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifegame
|
||||||
- name: Purge Cloudflare cache
|
|
||||||
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
|
|
||||||
with:
|
|
||||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
|
|
||||||
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}
|
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -78,8 +73,3 @@ jobs:
|
||||||
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
|
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
|
||||||
mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
mkdir ~/.ssh && echo "${{ secrets.ELLBOT_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
||||||
rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' docs/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifedocs
|
rsync -rv --delete -e 'ssh -o "ProxyCommand cloudflared access ssh --hostname %h" -o "StrictHostKeyChecking=no"' docs/_site/. ellbot@ssh.ellpeck.de:/var/www/tinylifedocs
|
||||||
- name: Purge Cloudflare cache
|
|
||||||
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
|
|
||||||
with:
|
|
||||||
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
|
|
||||||
cf_auth: ${{ secrets.CLOUDFLARE_TOKEN }}
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<div id="cookieinfo"></div>
|
|
||||||
<script>
|
|
||||||
if (localStorage.getItem("notification") !== "true") {
|
|
||||||
$("#cookieinfo").html( /*html*/ `
|
|
||||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
|
||||||
This site uses your browser's local storage to store information about your browsing activity.
|
|
||||||
<br>For more information, please check out the <a href="https://ellpeck.de/privacy">privacy policy</a>.
|
|
||||||
<button type="button" class="close" data-dismiss="alert" id="notif-close">
|
|
||||||
<span>×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
`);
|
|
||||||
$("#notif-close").on("click", function () {
|
|
||||||
localStorage.setItem("notification", "true");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
|
@ -50,7 +50,6 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% include navbar.html %}
|
{% include navbar.html %}
|
||||||
{% include cookie.html %}
|
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
|
|
|
@ -54,17 +54,6 @@ a:visited.wide-link {
|
||||||
padding-top: 70px;
|
padding-top: 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cookieinfo {
|
|
||||||
position: fixed;
|
|
||||||
top: 80px;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
max-width: 700px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
z-index: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
max-width: 850px;
|
max-width: 850px;
|
||||||
|
|
Loading…
Reference in a new issue