You've already forked .autoupdate
All checks were successful
Update reflex-appimage Package / update (push) Successful in 11s
Update open-video-downloader-bin Package / update (push) Successful in 7s
Update open-video-downloader-appimage Package / update (push) Successful in 6s
Update deskflow-bin Package / update (push) Successful in 6s
Replace `GITEA_TOKEN`/`GITEA_HOST` with `GIT_TOKEN`/`GIT_HOST` in workflow credential setup and clone URLs for affected AUR jobs.
33 lines
993 B
YAML
33 lines
993 B
YAML
---
|
|
name: Update deskflow-bin Package
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- run: |
|
|
git config --global user.name "${GIT_NAME}"
|
|
git config --global user.email "${GIT_EMAIL}"
|
|
git config --global credential.helper store
|
|
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials
|
|
git clone --depth 1 https://${GIT_HOST}/aur/deskflow-bin
|
|
cd deskflow-bin
|
|
source PKGBUILD
|
|
./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|v||')
|
|
env:
|
|
GIT_NAME: ${{ vars.GIT_NAME }}
|
|
GIT_EMAIL: ${{ vars.GIT_EMAIL }}
|
|
GIT_HOST: ${{ vars.GIT_HOST }}
|
|
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|