Compare commits
32 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
983b0b119f |
||
|
|
7448aff25d |
||
|
|
2760eb0219 |
||
|
|
3544af80c9 |
||
|
|
0be717df42 |
||
|
|
da731a53ce |
||
|
|
ce684f4593 |
||
|
|
e2c59c7d73 |
||
|
|
861828b409 |
||
|
|
c0efd272ee |
||
|
|
08a5a91028 |
||
|
|
68e39ef351 |
||
|
|
70315eca96 |
||
|
|
b99cbb62e4 |
||
|
|
878e7c45a7 |
||
|
|
3776f12d03 |
||
|
|
279c353026 |
||
|
|
ca9fc52d3b |
||
|
|
227f65476d |
||
|
|
7f25581d7b |
||
|
|
bf59aeb3c8 |
||
|
|
5b92828a31 |
||
|
|
eae2902473 |
||
|
|
228abb3341 |
||
|
|
9647254c37 |
||
|
|
9df2ecd29e |
||
|
|
12a282c82d |
||
|
|
f55609945e |
||
|
|
c2221ede03 |
||
|
|
f7fd748041 |
||
|
|
45f1d26f00 |
||
|
|
fdc91f7c29 |
4 changed files with 40 additions and 37 deletions
30
.gitea/workflows/build.yaml
Normal file
30
.gitea/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
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
|
||||
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
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,3 +50,13 @@ 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,7 +1,6 @@
|
|||
#!/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