.profile/.gitea/workflows/build.yaml
Workflow config file is invalid. Please check your config file: Line: 6 Column 5: Failed to match job-factory: Line: 23 Column 9: Failed to match run-step: Line: 23 Column 14: Unknown Variable Access gitea Line: 23 Column 9: Failed to match regular-step: Line: 23 Column 9: Unknown Property run Line: 6 Column 5: Failed to match workflow-job: Line: 7 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
Simon Vieille 3544af80c9
Some checks reported warnings
Build profile / Build (push) Has been cancelled
[wip] gitea actions
2023-10-02 22:46:18 +02:00

29 lines
898 B
YAML

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
- run: |
cp README.tpl.md README.md
apt-get update && apt-get install -y man
man head
./bin/rss -f https://www.deblan.io/RSS | head >> 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