[wip] gitea actions
Some checks failed
Build profile / Build (push) Failing after 3s

This commit is contained in:
Simon Vieille 2023-10-02 22:06:12 +02:00
parent c2221ede03
commit f55609945e
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -6,20 +6,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: |
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
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
- run: |
git config --global user.email ci@gitnet.fr
git config --global user.name CI
git config --global user.email ci@gitnet.fr
git config --global user.name CI
- run: |
cp README.tpl.md README.md
./bin/rss -f https://www.deblan.io/RSS | head -n 10 >> README.md
cp README.tpl.md README.md
./bin/rss -f https://www.deblan.io/RSS | head -n 10 >> README.md
- run: |
git status
git add .
git commit -m "Build ${CI_BUILD_NUMBER}" || true
git remote add repo git@gitnet.fr:deblan/.profile.git
git push repo main || true
git status
git add .
git commit -m "Build ${CI_BUILD_NUMBER}" || true
git remote add repo git@gitnet.fr:deblan/.profile.git
git push repo main || true