feat(ci): replace drone with gitea act-runner
This commit is contained in:
commit
d327604a34
22
.gitea/workflows/markdown-linters.yaml
Normal file
22
.gitea/workflows/markdown-linters.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Markdown linter
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
tags-ignore:
|
||||||
|
- '**'
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markdown-lint:
|
||||||
|
container:
|
||||||
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
- name: Lint Markdown files
|
||||||
|
run: markdownlint --config .markdownlint.yaml .
|
36
.gitea/workflows/sync.yaml
Normal file
36
.gitea/workflows/sync.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: Markdown linter
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markdown-lint:
|
||||||
|
env:
|
||||||
|
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
- name: Configure SSH client
|
||||||
|
run: |
|
||||||
|
mkdir ~/.ssh
|
||||||
|
chmod 0700 ~/.ssh
|
||||||
|
|
||||||
|
echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id
|
||||||
|
chmod 0600 ~/.ssh/id
|
||||||
|
|
||||||
|
cat > ~/.ssh/config <<EOF
|
||||||
|
Host *
|
||||||
|
IdentityFile ~/.ssh/id
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
EOF
|
||||||
|
- name: Push
|
||||||
|
run: |
|
||||||
|
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git
|
||||||
|
- name: Remove SSH client configuration
|
||||||
|
run: |
|
||||||
|
rm -rf ~/.ssh
|
Loading…
x
Reference in New Issue
Block a user