Skip to content

Commit

Permalink
action runs on github runners
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcChen committed Feb 1, 2025
1 parent 879de44 commit 79d78e9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sync_notion_to_google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Sync Notion to Google Tasks
on:
schedule:
- cron: '0 8,12,16,20 * * *'
pull_request:
push:
branches:
- main
- feature/*

jobs:
sync-notion:
name: Sync Notion to Google Tasks
runs-on: self-hosted
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/main' # Only execute on the main branch

Expand Down Expand Up @@ -148,4 +148,3 @@ jobs:
FREE_MOBILE_USER_ID: ${{ secrets.FREE_MOBILE_USER_ID }}
FREE_MOBILE_API_KEY: ${{ secrets.FREE_MOBILE_API_KEY }}
LAST_SUCCESSFUL_SYNC: ${{ env.LAST_SUCCESSFUL_SYNC }}
# LAST_SUCCESSFUL_SYNC: "2025-01-12T20:12:37Z"

0 comments on commit 79d78e9

Please sign in to comment.