From 34faf2bff5bb383d5a65ff19ed1ebd6c315f0d06 Mon Sep 17 00:00:00 2001 From: komeil Parseh Date: Fri, 19 May 2023 15:12:27 +0330 Subject: [PATCH] Create repo-add.yml --- .github/workflows/repo-add.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/repo-add.yml diff --git a/.github/workflows/repo-add.yml b/.github/workflows/repo-add.yml new file mode 100644 index 0000000..673d795 --- /dev/null +++ b/.github/workflows/repo-add.yml @@ -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" +