Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d23a45ad28 | ||
|
|
7f26c7dd70 | ||
|
|
2e74afa08e | ||
|
|
5070757736 | ||
| 901c18c231 | |||
|
|
ae0050aa11 | ||
|
|
5005f50d56 | ||
|
|
e447ff241e | ||
|
|
16bb8afe7c | ||
|
|
2daf304c87 | ||
|
|
008571dc9f | ||
|
|
5a41aeca41 | ||
|
|
603790a792 |
4 changed files with 37 additions and 40 deletions
|
|
@ -1,30 +0,0 @@
|
|||
name: Build profile
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: |
|
||||
mkdir -p ~/.ssh
|
||||
eval $(ssh-agent -s)
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' | ssh-add -
|
||||
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
- run: |
|
||||
git config --global user.email ci@gitnet.fr
|
||||
git config --global user.name CI
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- run: |
|
||||
cp README.tpl.md README.md
|
||||
./bin/rss -f https://www.deblan.io/RSS | head --lines=10 >> README.md
|
||||
- run: |
|
||||
git status
|
||||
git add .
|
||||
git commit -m "Build ${{ gitea.job }}" || true
|
||||
git remote add repo git@gitnet.fr:deblan/.profile.git
|
||||
#git push repo main || true
|
||||
|
||||
36
.woodpecker.yml
Normal file
36
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
steps:
|
||||
update_profile:
|
||||
image: alpine/git
|
||||
environment:
|
||||
SSH_PRIV_KEY:
|
||||
from_secret: ssh_priv_key
|
||||
commands:
|
||||
- git config --global user.email ci@gitnet.fr
|
||||
- git config --global user.name CI
|
||||
- apk add wget
|
||||
- cp README.tpl.md README.md
|
||||
- ./bin/rss -f https://www.deblan.io/RSS | head -n 10 >> README.md
|
||||
- git status
|
||||
- git add .
|
||||
- git commit -m "Build ${CI_BUILD_NUMBER}" || true
|
||||
- mkdir -p ~/.ssh
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
|
||||
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||
- git remote add repo git@gitnet.fr:deblan/.profile.git
|
||||
- git push repo main || true
|
||||
when:
|
||||
event: [deployment, cron]
|
||||
|
||||
# deploy:
|
||||
# image: appleboy/drone-git-push
|
||||
# commands:
|
||||
# settings:
|
||||
# branch: main
|
||||
# remote: git@gitnet.fr:deblan/.profile.git
|
||||
# force: false
|
||||
# commit: false
|
||||
# ssh_key:
|
||||
# from_secret: ssh_priv_key
|
||||
# when:
|
||||
# event: [push, deployment, cron]
|
||||
10
README.md
10
README.md
|
|
@ -50,13 +50,3 @@ This application is rather suitable for instances that activate a lot of applica
|
|||
|
||||
## Latest blog posts
|
||||
|
||||
* [Matrix-Synapse : migrer de SQLite à PostgreSQL](https://www.deblan.io/post/655/matrix-synapse-migrer-de-sqlite-a-postgresql)
|
||||
* [Remote i3-wm WS : ma télécommande pour bureau GNU/Linux (v2)](https://www.deblan.io/post/654/remote-i3-wm-ws-ma-telecommande-pour-bureau-gnu-linux-v2)
|
||||
* [Signez la pétition pour empêcher la France d’obliger les navigateurs tels que Firefox de Mozilla à censurer des sites web](https://www.deblan.io/post/653/signez-la-petition-pour-empecher-la-france-d-obliger-les-navigateurs-tels-que-firefox-de-mozilla-a-censurer-des-sites-web)
|
||||
* [Internet devient-il un Minitel 2.0 ou un bien commun ? - Benjamin Bayart - RTS – Libre à lire !](https://www.deblan.io/post/652/internet-devient-il-un-minitel-2-0-ou-un-bien-commun-benjamin-bayart-rts-libre-a-lire)
|
||||
* [Murph v1.20 is out! 📣](https://www.deblan.io/post/651/murph-v1-20-is-out)
|
||||
* [Je n'ai rien à cacher.](https://www.deblan.io/post/650/je-nai-rien-a-cacher)
|
||||
* [Capture, un reverse proxy pour analyser les requêtes de vos applications](https://www.deblan.io/post/648/capture-un-proxy-pour-analyser-les-requetes-de-vos-applications)
|
||||
* [Affaire du 8 décembre : le chiffrement des communications assimilé à un comportement terroriste](https://www.deblan.io/post/649/affaire-du-8-decembre-le-chiffrement-des-communications-assimile-a-un-comportement-terroriste)
|
||||
* [Un modèle pour démarrer un script shell](https://www.deblan.io/post/647/modele-pour-demarrer-script-shell)
|
||||
* [Quoi de neuf sur les internets ? #1](https://www.deblan.io/post/646/quoi-de-neuf-sur-les-internets-1)
|
||||
|
|
|
|||
1
bin/rss
1
bin/rss
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
set -x
|
||||
|
||||
usage() {
|
||||
printf "Usage: %s [-l DEBUG_LEVEL] [-f URL] [-h]\n" "$0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue