chore(ci): improve error handling and push only ref
Some checks failed
Markdown linter / markdown-lint (push) Failing after 13s
Some checks failed
Markdown linter / markdown-lint (push) Failing after 13s
This commit is contained in:
parent
9280fb3553
commit
cdad6b84ff
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = mint-backgrounds
|
||||
pkgdesc = The backgrounds of Linux Mint
|
||||
pkgver = 1.8.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
arch = any
|
||||
license = Various
|
||||
depends = mint-backgrounds-helena
|
||||
|
@ -15,9 +15,11 @@ jobs:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Configure SSH client
|
||||
run: |
|
||||
mkdir ~/.ssh
|
||||
mkdir ~/.ssh || true
|
||||
chmod 0700 ~/.ssh
|
||||
|
||||
echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id
|
||||
@ -30,7 +32,7 @@ jobs:
|
||||
EOF
|
||||
- name: Push
|
||||
run: |
|
||||
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git
|
||||
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git 'refs/heads/master'
|
||||
- name: Remove SSH client configuration
|
||||
run: |
|
||||
rm -rf ~/.ssh
|
Loading…
x
Reference in New Issue
Block a user