From 851c813de0ba2debd61c66b5803b52dfb1a8d4b1 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Fri, 11 Oct 2024 18:51:32 +0400 Subject: [PATCH] wip on sg deploy --- .github/workflows/deploy-subgraph.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy-subgraph.yaml diff --git a/.github/workflows/deploy-subgraph.yaml b/.github/workflows/deploy-subgraph.yaml new file mode 100644 index 000000000..60c8116f5 --- /dev/null +++ b/.github/workflows/deploy-subgraph.yaml @@ -0,0 +1,19 @@ +name: Deploy subgraph +on: + [workflow_dispatch] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + - run: nix develop -c graph codegen + - run: nix develop -c graph build + - run: nix develop -c goldsky subgraph deploy \ No newline at end of file