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 7f6f193 commit 72e3e3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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,12 +20,12 @@ 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 http://github.com/PrefectHQ/prefect.git
git clone https://x-access-token:${GITHUB_TOKEN}@github.com/PrefectHQ/prefect.git
cd prefect
curl -o $TARGET_FILE_PATH $SOURCE_REPO_URL
Expand Down

0 comments on commit 72e3e3b

Please sign in to comment.