summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml38
-rw-r--r--.gitignore5
-rw-r--r--images/demo/Example_images.zipbin0 -> 2179019 bytes
-rw-r--r--images/demo/Example_images_LICENSE.txt19
-rw-r--r--images/demo/Example_video_LICENSE.txt6
-rw-r--r--images/demo/Landscape_1.jpgbin0 -> 139435 bytes
-rw-r--r--images/demo/Landscape_2.jpgbin0 -> 137359 bytes
-rw-r--r--images/demo/Landscape_3.jpgbin0 -> 140965 bytes
-rw-r--r--images/demo/Landscape_4.jpgbin0 -> 140588 bytes
-rw-r--r--images/demo/Landscape_5.jpgbin0 -> 137611 bytes
-rw-r--r--images/demo/Landscape_6.jpgbin0 -> 137628 bytes
-rw-r--r--images/demo/Landscape_7.jpgbin0 -> 140645 bytes
-rw-r--r--images/demo/Landscape_8.jpgbin0 -> 141286 bytes
-rw-r--r--images/demo/Portrait_1.jpgbin0 -> 129059 bytes
-rw-r--r--images/demo/Portrait_2.jpgbin0 -> 136072 bytes
-rw-r--r--images/demo/Portrait_3.jpgbin0 -> 135813 bytes
-rw-r--r--images/demo/Portrait_4.jpgbin0 -> 131520 bytes
-rw-r--r--images/demo/Portrait_5.jpgbin0 -> 133715 bytes
-rw-r--r--images/demo/Portrait_6.jpgbin0 -> 136257 bytes
-rw-r--r--images/demo/Portrait_7.jpgbin0 -> 135366 bytes
-rw-r--r--images/demo/Portrait_8.jpgbin0 -> 132543 bytes
-rw-r--r--images/demo/Video.mp4bin0 -> 4788565 bytes
-rw-r--r--images/gallery.jpgbin0 -> 27734 bytes
-rw-r--r--images/image.jpgbin0 -> 42362 bytes
24 files changed, 64 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..8be1a92
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,38 @@
+name: "Update gallery.sh demo page"
+on:
+ workflow_dispatch:
+
+jobs:
+ build-and-deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Dependencies 🔧
+ run: sudo apt-get install imagemagick jhead
+ - name: Checkout 🛎️
+ uses: actions/checkout@v2
+ - name: Configuration 🖊️
+ run: |
+ mkdir -p "build/"
+ mkdir -p "$HOME/status/"
+ echo 'MY_STATUS_HTML="build/index.html"' > config
+ echo 'MY_STATUS_JSON="build/status.json"' >> config
+ echo 'MY_MAINTENANCE_TEXT_FILE="status_maintenance_text.txt"' >> config
+ echo 'MY_HOSTNAME_FILE="status_hostname_list.txt"' >> config
+ echo 'This is a demo page of <a href="https://github.com/Cyclenerd/static_status">static_status</a>.' > status_maintenance_text.txt
+ echo 'This status page is generated with GitHub Action.' >> status_maintenance_text.txt
+ echo 'curl;https://www.heise.de/ping|<a href="https://www.heise.de/">heise online</a>' > status_hostname_list.txt
+ echo 'curl;ftp://ftp.debian.org/debian/README' >> status_hostname_list.txt
+ echo 'nc;8.8.8.8|DNS @ Google;53' >> status_hostname_list.txt
+ echo "config"
+ cat config
+ echo "status_maintenance_text.txt"
+ cat status_maintenance_text.txt
+ echo "status_hostname_list.txt"
+ cat status_hostname_list.txt
+ - name: Status 🚦
+ run: bash status.sh loud
+ - name: Deploy 🚀
+ uses: JamesIves/github-pages-deploy-action@4.0.0
+ with:
+ branch: gh-pages # The branch the action should deploy to.
+ folder: build # The folder the action should deploy. \ No newline at end of file
diff --git a/.gitignore b/.gitignore
index d771675..c26aecf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,2 @@
.DS_Store
-assert.sh
-*.html
-*.gif
-*.jpg \ No newline at end of file
+assert.sh \ No newline at end of file
diff --git a/images/demo/Example_images.zip b/images/demo/Example_images.zip
new file mode 100644
index 0000000..d163cba
--- /dev/null
+++ b/images/demo/Example_images.zip
Binary files differ
diff --git a/images/demo/Example_images_LICENSE.txt b/images/demo/Example_images_LICENSE.txt
new file mode 100644
index 0000000..978ee2a
--- /dev/null
+++ b/images/demo/Example_images_LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Dave Perrett, http://recursive-design.com/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE. \ No newline at end of file
diff --git a/images/demo/Example_video_LICENSE.txt b/images/demo/Example_video_LICENSE.txt
new file mode 100644
index 0000000..0d50554
--- /dev/null
+++ b/images/demo/Example_video_LICENSE.txt
@@ -0,0 +1,6 @@
+Pexels Videos offers completely free videos. All videos are licensed under the Creative Commons Zero (CC0) license.
+
+You can find more information about the license on the official license page:
+
+https://creativecommons.org/publicdomain/zero/1.0/
+https://videos.pexels.com/video-license \ No newline at end of file
diff --git a/images/demo/Landscape_1.jpg b/images/demo/Landscape_1.jpg
new file mode 100644
index 0000000..015c5f1
--- /dev/null
+++ b/images/demo/Landscape_1.jpg
Binary files differ
diff --git a/images/demo/Landscape_2.jpg b/images/demo/Landscape_2.jpg
new file mode 100644
index 0000000..2e7fb57
--- /dev/null
+++ b/images/demo/Landscape_2.jpg
Binary files differ
diff --git a/images/demo/Landscape_3.jpg b/images/demo/Landscape_3.jpg
new file mode 100644
index 0000000..74505cf
--- /dev/null
+++ b/images/demo/Landscape_3.jpg
Binary files differ
diff --git a/images/demo/Landscape_4.jpg b/images/demo/Landscape_4.jpg
new file mode 100644
index 0000000..ea133fb
--- /dev/null
+++ b/images/demo/Landscape_4.jpg
Binary files differ
diff --git a/images/demo/Landscape_5.jpg b/images/demo/Landscape_5.jpg
new file mode 100644
index 0000000..81a8af6
--- /dev/null
+++ b/images/demo/Landscape_5.jpg
Binary files differ
diff --git a/images/demo/Landscape_6.jpg b/images/demo/Landscape_6.jpg
new file mode 100644
index 0000000..7426aba
--- /dev/null
+++ b/images/demo/Landscape_6.jpg
Binary files differ
diff --git a/images/demo/Landscape_7.jpg b/images/demo/Landscape_7.jpg
new file mode 100644
index 0000000..a541d95
--- /dev/null
+++ b/images/demo/Landscape_7.jpg
Binary files differ
diff --git a/images/demo/Landscape_8.jpg b/images/demo/Landscape_8.jpg
new file mode 100644
index 0000000..3f51d28
--- /dev/null
+++ b/images/demo/Landscape_8.jpg
Binary files differ
diff --git a/images/demo/Portrait_1.jpg b/images/demo/Portrait_1.jpg
new file mode 100644
index 0000000..f579779
--- /dev/null
+++ b/images/demo/Portrait_1.jpg
Binary files differ
diff --git a/images/demo/Portrait_2.jpg b/images/demo/Portrait_2.jpg
new file mode 100644
index 0000000..4d9212c
--- /dev/null
+++ b/images/demo/Portrait_2.jpg
Binary files differ
diff --git a/images/demo/Portrait_3.jpg b/images/demo/Portrait_3.jpg
new file mode 100644
index 0000000..2f88b6d
--- /dev/null
+++ b/images/demo/Portrait_3.jpg
Binary files differ
diff --git a/images/demo/Portrait_4.jpg b/images/demo/Portrait_4.jpg
new file mode 100644
index 0000000..cc947da
--- /dev/null
+++ b/images/demo/Portrait_4.jpg
Binary files differ
diff --git a/images/demo/Portrait_5.jpg b/images/demo/Portrait_5.jpg
new file mode 100644
index 0000000..b14114b
--- /dev/null
+++ b/images/demo/Portrait_5.jpg
Binary files differ
diff --git a/images/demo/Portrait_6.jpg b/images/demo/Portrait_6.jpg
new file mode 100644
index 0000000..79617a9
--- /dev/null
+++ b/images/demo/Portrait_6.jpg
Binary files differ
diff --git a/images/demo/Portrait_7.jpg b/images/demo/Portrait_7.jpg
new file mode 100644
index 0000000..fbcde86
--- /dev/null
+++ b/images/demo/Portrait_7.jpg
Binary files differ
diff --git a/images/demo/Portrait_8.jpg b/images/demo/Portrait_8.jpg
new file mode 100644
index 0000000..07beac8
--- /dev/null
+++ b/images/demo/Portrait_8.jpg
Binary files differ
diff --git a/images/demo/Video.mp4 b/images/demo/Video.mp4
new file mode 100644
index 0000000..e1aa70c
--- /dev/null
+++ b/images/demo/Video.mp4
Binary files differ
diff --git a/images/gallery.jpg b/images/gallery.jpg
new file mode 100644
index 0000000..e222bef
--- /dev/null
+++ b/images/gallery.jpg
Binary files differ
diff --git a/images/image.jpg b/images/image.jpg
new file mode 100644
index 0000000..f733b82
--- /dev/null
+++ b/images/image.jpg
Binary files differ