-
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 branch 'develop' into openalex-importer
- Loading branch information
Showing
333 changed files
with
34,455 additions
and
7,642 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Deploy Worker | ||
on: | ||
push: | ||
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 | ||
env: | ||
API_TOKEN: ${{ secrets.API_TOKEN }} | ||
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 | ||
secrets: API_TOKEN | ||
|
||
- 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 | ||
secrets: API_TOKEN |
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.