Skip to content

Commit

Permalink
Merge pull request #1 from goldsky-io/paymahn/action.testing
Browse files Browse the repository at this point in the history
Deploy to goldsky
  • Loading branch information
paymog authored May 30, 2024
2 parents 0c8b6d9 + 4254306 commit ac4c0a4
Show file tree
Hide file tree
Showing 5 changed files with 6,023 additions and 4,374 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yaml
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: "."
Loading

0 comments on commit ac4c0a4

Please sign in to comment.