diff --git a/.github/workflows/aur.yaml b/.github/workflows/aur.yaml new file mode 100644 index 0000000..df0851e --- /dev/null +++ b/.github/workflows/aur.yaml @@ -0,0 +1,18 @@ +name: AUR + +on: + release: + types: + - "released" + +jobs: + aur: + runs-on: ubuntu-latest + steps: + - name: Publish + uses: zokugun/github-actions-aur-releaser@v1 + with: + package_name: forgit + aur_private_key: ${{ secrets.AUR_PRIVATE_KEY }} + aur_username: ${{ secrets.AUR_USERNAME }} + aur_email: ${{ secrets.AUR_EMAIL }} diff --git a/README.md b/README.md index ceb924a..25b7b83 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,10 @@ Install `forgit` in just one click. [![Install with Fig](https://fig.io/badges/install-with-fig.svg)](https://fig.io/plugins/other/forgit) +### Arch User Repository + +[AUR](https://wiki.archlinux.org/title/Arch_User_Repository) packages, maintained by the developers of forgit, are available. Install the [forgit](https://aur.archlinux.org/packages/forgit) package for the latest release or [forgit-git](https://aur.archlinux.org/packages/forgit-git) to stay up to date with the latest commits from the master branch of this repository. + ### 📝 Features - **Interactive `git add` selector** (`ga`)