generated from archlinux/template
Update .gitea/workflows/workflow.yml
This commit is contained in:
parent
6aa1c92272
commit
ea386848c6
@ -3,8 +3,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: '*/2 * * * *'
|
||||
|
||||
jobs:
|
||||
update:
|
||||
@ -44,28 +42,6 @@ jobs:
|
||||
run: |
|
||||
curl https://idlesleep.wolproxy.seeseepuff.be/status
|
||||
|
||||
check:
|
||||
name: Check if rebuild is necessary
|
||||
runs-on: ubuntu-amd64
|
||||
needs: update
|
||||
if: gitea.event_name == 'schedule'
|
||||
container:
|
||||
image: gitea.seeseepuff.be/archlinux/archlinux:latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Ensure image is up-to-date
|
||||
run: |
|
||||
sudo pacman -Sy --noconfirm
|
||||
|
||||
- name: Check if rebuild is necessary
|
||||
id: up-to-date
|
||||
run: |
|
||||
git config user.email "sebastiaan.de.schaetzen+archlinux@gmail.com"
|
||||
git config user.name "Sebastiaan de Schaetzen (automated)"
|
||||
.gitea/workflows/bump-pkgrel.sh
|
||||
|
||||
build:
|
||||
name: Build and Push
|
||||
runs-on: ubuntu-amd64
|
||||
|
Loading…
x
Reference in New Issue
Block a user