Compare commits

...
Sign in to create a new pull request.

32 commits

Author SHA1 Message Date
Simon Vieille
983b0b119f
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 2m35s
2023-10-02 23:01:21 +02:00
Simon Vieille
7448aff25d
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 6s
2023-10-02 22:48:04 +02:00
Simon Vieille
2760eb0219
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:47:25 +02:00
Simon Vieille
3544af80c9
[wip] gitea actions
Some checks reported warnings
Build profile / Build (push) Has been cancelled
2023-10-02 22:46:18 +02:00
Simon Vieille
0be717df42
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:44:56 +02:00
Simon Vieille
da731a53ce
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:44:15 +02:00
Simon Vieille
ce684f4593
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:43:30 +02:00
Simon Vieille
e2c59c7d73
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 5s
2023-10-02 22:43:10 +02:00
Simon Vieille
861828b409
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:42:12 +02:00
Simon Vieille
c0efd272ee
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 5s
2023-10-02 22:41:40 +02:00
Simon Vieille
08a5a91028
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:41:14 +02:00
Simon Vieille
68e39ef351
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:40:52 +02:00
Simon Vieille
70315eca96
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:40:21 +02:00
Simon Vieille
b99cbb62e4
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:37:42 +02:00
Simon Vieille
878e7c45a7
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:37:18 +02:00
Simon Vieille
3776f12d03
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:36:48 +02:00
Simon Vieille
279c353026
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 6s
2023-10-02 22:34:12 +02:00
Simon Vieille
ca9fc52d3b
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 6s
2023-10-02 22:33:32 +02:00
Simon Vieille
227f65476d
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 6s
2023-10-02 22:25:50 +02:00
Simon Vieille
7f25581d7b
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 6s
2023-10-02 22:25:06 +02:00
Simon Vieille
bf59aeb3c8
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 5s
2023-10-02 22:23:29 +02:00
Simon Vieille
5b92828a31
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 5s
2023-10-02 22:23:09 +02:00
Simon Vieille
eae2902473
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:22:28 +02:00
Simon Vieille
228abb3341
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:21:47 +02:00
Simon Vieille
9647254c37
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 5s
2023-10-02 22:21:23 +02:00
Simon Vieille
9df2ecd29e
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 6s
2023-10-02 22:20:48 +02:00
Simon Vieille
12a282c82d
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 46s
2023-10-02 22:08:54 +02:00
Simon Vieille
f55609945e
[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 3s
2023-10-02 22:06:12 +02:00
Simon Vieille
c2221ede03
[wip] gitea actions 2023-10-02 22:05:36 +02:00
Simon Vieille
f7fd748041
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 4s
2023-10-02 22:02:30 +02:00
Simon Vieille
45f1d26f00
[wip] gitea actions
All checks were successful
Build profile / Build (push) Successful in 4s
2023-10-02 22:01:56 +02:00
Simon Vieille
fdc91f7c29
[wip] gitea actions
All checks were successful
Build profile / Explore-Gitea-Actions (push) Successful in 35s
2023-10-02 22:00:36 +02:00
3 changed files with 30 additions and 35 deletions

View 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

View file

@ -1,34 +0,0 @@
steps:
update_profile:
image: alpine/git
secrets: [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]

View file

@ -1,7 +1,6 @@
#!/bin/sh #!/bin/sh
set -eu set -eu
set -x
usage() { usage() {
printf "Usage: %s [-l DEBUG_LEVEL] [-f URL] [-h]\n" "$0" printf "Usage: %s [-l DEBUG_LEVEL] [-f URL] [-h]\n" "$0"