Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/update_scribe_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ on:
- cron: "0 0 1 * *" # run on the 1st of every month at midnight UTC

jobs:
check-repository:
runs-on: ubuntu-latest
outputs:
is_remote_main: ${{ steps.check.outputs.is_remote_main }}
steps:
- name: Check repository
id: check
run: |
if [ "$GITHUB_REPOSITORY" = "scribe-org/Scribe-Server" ]; then
echo "is_remote_main=true" >> "$GITHUB_OUTPUT"
else
echo "is_remote_main=false" >> "$GITHUB_OUTPUT"
echo "::warning::This workflow should only run in scribe-org/Scribe-Server repository."
fi
update-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 180 # 3 hours timeout for large data processing
Expand Down
Loading