chore(workflows): add sync
All checks were successful
Markdown linter / markdown-lint (push) Successful in 12s
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2025-04-14 16:44:45 +02:00
parent 59a64138c1
commit 71cb9a0cbf
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 37 additions and 1 deletions

View File

@ -19,4 +19,4 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- name: Lint Markdown files - name: Lint Markdown files
run: markdownlint . run: markdownlint --config .markdownlint.yaml .

View 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