🐜 fix(ci): Fix scheduled runners not working (#149)

This commit is contained in:
Wanjohi
2025-01-03 23:59:38 +03:00
committed by GitHub
parent 137b60edb8
commit 33895974a7
3 changed files with 6 additions and 65 deletions

View File

@@ -7,8 +7,6 @@ on:
- "containers/relay.Containerfile"
- "packages/relay/**"
- ".github/workflows/relay.yml"
schedule:
- cron: 0 0 * * * # At the end of everyday
push:
branches: [main]
paths:
@@ -49,7 +47,7 @@ jobs:
build-docker-main:
name: Build image on main
if: ${{ github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: read