generated from archlinux/template
Add workflow to update from AUR
This commit is contained in:
parent
be759b1eb7
commit
0f18e248e6
24
.gitea/workflows/update.yml
Normal file
24
.gitea/workflows/update.yml
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user