forked from blocklytics/ethereum-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from goldsky-io/paymahn/action.testing
Deploy to goldsky
- Loading branch information
Showing
5 changed files
with
6,023 additions
and
4,374 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,31 @@ | ||
name: Example Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy-subgraph: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
- name: Install dependencies | ||
run: npm install | ||
- name: codegen | ||
run: npm run codegen | ||
- name: build | ||
run: npm run build | ||
- name: Deploy Subgraph | ||
uses: goldsky-io/[email protected] | ||
with: | ||
api_key: ${{ secrets.GOLDSKY_API_KEY }} | ||
subgraph_name: "ethereum-blocks" | ||
path: "." |
Oops, something went wrong.