Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Jan 6, 2024
1 parent 72e3e3b commit 2a49df5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr_views_to_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- pr-worker-view-test
- pr-worker-view-test
# paths:
# - "views/aggregate-worker-metadata.json"
workflow_dispatch:
Expand All @@ -20,11 +20,11 @@ jobs:
- uses: actions/checkout@v3

- name: Open PRs to PrefectHQ/prefect
env:
NEW_BRANCH: "update-worker-metadata-$(date +%Y%m%d%H%M%S)"
TARGET_FILE_PATH: "src/prefect/server/api/collections_data/views/aggregate-worker-metadata.json"
SOURCE_REPO_URL: "https://raw.githubusercontent.com/PrefectHQ/prefect-collection-registry/main/views/aggregate-worker-metadata.json"
run: |
NEW_BRANCH="update-worker-metadata-$(date +%Y%m%d%H%M%S)"
TARGET_FILE_PATH="src/prefect/server/api/collections_data/views/aggregate-worker-metadata.json"
SOURCE_REPO_URL="https://raw.githubusercontent.com/PrefectHQ/prefect-collection-registry/main/views/aggregate-worker-metadata.json"
git clone https://x-access-token:${GITHUB_TOKEN}@github.com/PrefectHQ/prefect.git
cd prefect
Expand Down

0 comments on commit 2a49df5

Please sign in to comment.