Create repo-add.yml

This commit is contained in:
komeil Parseh 2023-05-19 15:12:27 +03:30 committed by GitHub
parent 60a69b8750
commit 34faf2bff5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/repo-add.yml vendored Normal file
View file

@ -0,0 +1,22 @@
# This workflow will build an Arch Linux ISO file with the commit on it
name: repo-add
on:
push:
paths: "**/*.tar.zst"
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Install Packages via Pacman
run: pacman -Sy; pacman --noconfirm -S git python python-pip base-devel
- name: repo-add
run: bash ./repoadd.sh ppr
- name: push
run: |
git add -A
git commit -S -m "gh-action: Update ppr.db" || echo "nothing"