Skip to content

Bump buildozer-bin from 7.3.1 to 8.0.0 (#53) #104

Bump buildozer-bin from 7.3.1 to 8.0.0 (#53)

Bump buildozer-bin from 7.3.1 to 8.0.0 (#53) #104

Workflow file for this run

name: Deploy to AUR
on:
push:
branches:
- master
jobs:
push-to-remote:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add known hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
- name: Push to remote repository
run: |
for dir in **/; do
[[ "$dir" =~ ^[a-zA-Z0-9/_-]+$ ]] || { echo "Invalid input"; exit 1; }
PACKAGE="${dir///}"
git subtree push "--prefix=$PACKAGE" "ssh://[email protected]/$PACKAGE.git" master
done