some cleanups
This commit is contained in:
parent
beed4ba335
commit
7605219974
3 changed files with 0 additions and 42 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -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}"
|
1
public
1
public
|
@ -1 +0,0 @@
|
|||
Subproject commit a960c859c1a2e5e8ddbb81265ea08498fac1c39d
|
Loading…
Add table
Reference in a new issue