Skip to content

Commit

Permalink
Merge pull request #74 from aavegotchi/feat/satsumaDeployment
Browse files Browse the repository at this point in the history
added satsuma deployment action
  • Loading branch information
cinnabarhorse authored Jan 25, 2023
2 parents 481fc7a + 0219056 commit 56c2043
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-satsuma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy to Satsuma Service

on:
push:
tags:
- "*"

jobs:
buildAndDeploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 14
- name: Install Yarn
run: npm i -g yarn
- name: Install Libs
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- name: Build
run: yarn build
- name: Deploy to Satsuma
run: |
npx graph deploy --access-token ${{secrets.SATSUMA_ACCESS_TOKEN}} aavegotchi-core-matic subgraph.yaml --node https://app.satsuma.xyz/api/subgraphs/deploy --version-label ${GITHUB_REF#refs/*/}
shell: bash

0 comments on commit 56c2043

Please sign in to comment.