From 7605219974cc3fe160f12441fe2d980289bba21f Mon Sep 17 00:00:00 2001 From: WrenIX Date: Mon, 11 Mar 2024 19:23:46 +0100 Subject: [PATCH] some cleanups --- .gitmodules | 3 --- .woodpecker/page.yml | 38 -------------------------------------- public | 1 - 3 files changed, 42 deletions(-) delete mode 100644 .woodpecker/page.yml delete mode 160000 public diff --git a/.gitmodules b/.gitmodules index 51f8c45..3a07023 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "public"] - path = public - url = git@codeberg.org:wrenix/pages.git [submodule "themes/terminimal"] path = themes/terminimal url = https://github.com/pawroman/zola-theme-terminimal.git diff --git a/.woodpecker/page.yml b/.woodpecker/page.yml deleted file mode 100644 index deb98fa..0000000 --- a/.woodpecker/page.yml +++ /dev/null @@ -1,38 +0,0 @@ -clone: - git: - image: woodpeckerci/plugin-git - settings: - recursive: true - submodule_override: - public: https://codeberg.org/wrenix/pages.git - -steps: - 'build: page': - image: "ghcr.io/getzola/zola:v0.18.0" - when: - event: push - branch: - - main - commands: /bin/zola build - - 'publish: page': - image: "docker.io/node" - when: - event: push - branch: - - main - secrets: - - "ssh_private_key_write" - commands: - - eval $(ssh-agent -s) - - echo $${SSH_PRIVATE_KEY_WRITE} | base64 -d | ssh-add - - - mkdir -p ~/.ssh && chmod 700 ~/.ssh && ssh-keyscan codeberg.org >> ~/.ssh/known_hosts - # Git configuration - - git config --global user.email "woodpecker@ci" - - git config --global user.name "Woodpecker CI" - # Needed for custom domains - - "[ -f .domains ] && cp .domains public" - # Commit and push all static files with pipeline started timestamp - - cd public - - git add . - - git commit -m "Woodpecker CI ${CI_BUILD_CREATED}" diff --git a/public b/public deleted file mode 160000 index a960c85..0000000 --- a/public +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a960c859c1a2e5e8ddbb81265ea08498fac1c39d