diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml new file mode 100644 index 0000000..e40c139 --- /dev/null +++ b/.gitea/workflows/update.yml @@ -0,0 +1,24 @@ +name: Update from AUR +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-standard + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Add AUR repository + run: git remote add aur https://aur.archlinux.org/yay.git + + - name: Fetch AUR + run: git fetch aur + + - name: Rebase current changes + run: git rebase aur/master + + - name: Push changes (if any) + run: git push origin master