-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #714 from desci-labs/tay/automerge-party-flagged
Automerge party Enabled (Stable)
- Loading branch information
Showing
74 changed files
with
8,623 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Deploy Worker | ||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/deploy-sync-server.yaml | ||
- sync-server/** | ||
branches: # array of glob patterns matching against refs/heads. Optional; defaults to all | ||
- main # triggers on pushes that contain changes | ||
- develop | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# - name: Show github ref | ||
# run: | | ||
# echo ${{ github.ref }} | ||
# echo ${{ github.ref_name }} | ||
# echo ${{ github.head_ref }} | ||
# - name: Build & Deploy Worker (Dev) | ||
# if: github.head_ref == 'tay/automerge-party-flagged' | ||
# uses: cloudflare/wrangler-action@v3 | ||
# with: | ||
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
# environment: staging | ||
# workingDirectory: sync-server | ||
# wranglerVersion: 3.95.0 | ||
- name: Build & Deploy Worker (Staging) | ||
if: github.ref == 'refs/heads/develop' | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
environment: staging | ||
workingDirectory: sync-server | ||
wranglerVersion: 3.95.0 | ||
- name: Build & Deploy Worker (Production) | ||
if: github.ref == 'refs/heads/main' | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
environment: production | ||
workingDirectory: sync-server | ||
wranglerVersion: 3.95.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,3 @@ local-data/ | |
**/*.iml | ||
.composedbRuntimeDefinition.json | ||
openalex-importer | ||
sync-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.