-
Notifications
You must be signed in to change notification settings - Fork 2
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 #2 from yral-dapp/monorepo
Monorepo and yral-ml-feed-cache
- Loading branch information
Showing
37 changed files
with
4,350 additions
and
158 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Deploy Cloudflare Workers | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "workers/**" | ||
- "Cargo.toml" | ||
- "Cargo.lock" | ||
|
||
jobs: | ||
deploy-workers: | ||
name: Deploy ${{ matrix.worker }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
worker: [yral-ml-feed-cache] # add more workers here | ||
defaults: | ||
run: | ||
working-directory: workers/${{ matrix.worker }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Deploy Worker | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_FULL_EDIT_ACCESS_INCLUDING_BINDINGS }} | ||
workingDirectory: "workers/${{ matrix.worker }}" |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
target | ||
node_modules | ||
.wrangler | ||
**/.wrangler | ||
**/build | ||
**/node_modules |
Oops, something went wrong.