From 51535d50fe9d96596462724c5b67095395988bbc Mon Sep 17 00:00:00 2001 From: david-swift Date: Sat, 5 Oct 2024 18:43:01 +0200 Subject: [PATCH] Clean repo --- .gitlab-ci.yml | 53 -------------------------------------------------- LICENSE.md | 9 +++++++++ 2 files changed, 9 insertions(+), 53 deletions(-) delete mode 100644 .gitlab-ci.yml create mode 100644 LICENSE.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index ee15423..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,53 +0,0 @@ -stages: - - deploy - -default: - image: debian:stable-slim - -variables: - # The runner will be able to pull your Zola theme when the strategy is - # set to "recursive". - GIT_SUBMODULE_STRATEGY: "recursive" - - # If you don't set a version here, your site will be built with the latest - # version of Zola available in GitHub releases. - # Use the semver (x.y.z) format to specify a version. For example: "0.17.2" or "0.18.0". - ZOLA_VERSION: - description: "The version of Zola used to build the site." - value: "" - -pages: - stage: deploy - script: - - | - apt-get update --assume-yes && apt-get install --assume-yes --no-install-recommends wget ca-certificates - if [ $ZOLA_VERSION ]; then - zola_url="https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$ZOLA_VERSION-x86_64-unknown-linux-gnu.tar.gz" - if ! wget --quiet --spider $zola_url; then - echo "A Zola release with the specified version could not be found."; - exit 1; - fi - else - github_api_url="https://api.github.com/repos/getzola/zola/releases/latest" - zola_url=$( - wget --output-document - $github_api_url | - grep "browser_download_url.*linux-gnu.tar.gz" | - cut --delimiter : --fields 2,3 | - tr --delete "\" " - ) - fi - wget $zola_url - tar -xzf *.tar.gz - ./zola build - - artifacts: - paths: - # This is the directory whose contents will be deployed to the GitLab Pages - # server. - # GitLab Pages expects a directory with this name by default. - - public - - rules: - # This rule makes it so that your website is published and updated only when - # you push to the default branch of your repository (e.g. "master" or "main"). - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..3a23360 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2024 david-swift + +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.