From 5f7e97e2c41117b3ed573bd0160f82166282dfd7 Mon Sep 17 00:00:00 2001 From: orionstardust Date: Tue, 31 Oct 2023 12:33:42 -0500 Subject: [PATCH 1/2] Update deploy action --- .github/workflows/deploy-hosted-service.yml | 27 --------------------- .github/workflows/deploy-satsuma.yml | 3 +-- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 .github/workflows/deploy-hosted-service.yml diff --git a/.github/workflows/deploy-hosted-service.yml b/.github/workflows/deploy-hosted-service.yml deleted file mode 100644 index 4313707..0000000 --- a/.github/workflows/deploy-hosted-service.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Deploy to Hosted Service - -on: - push: - branches: main - -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 TheGraph Hosted Service - run: | - npx graph deploy --access-token ${{secrets.GRAPH_ACCESS_TOKEN}} aavegotchi/aavegotchi-alchemica subgraph.yaml --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ - shell: bash diff --git a/.github/workflows/deploy-satsuma.yml b/.github/workflows/deploy-satsuma.yml index 5641a55..646b4d4 100644 --- a/.github/workflows/deploy-satsuma.yml +++ b/.github/workflows/deploy-satsuma.yml @@ -2,8 +2,7 @@ name: Deploy to Satsuma Service on: push: - tags: - - "*" + branches: main jobs: buildAndDeploy: From 5399f414933f5689435ae00d125320d9d892daab Mon Sep 17 00:00:00 2001 From: orionstardust Date: Tue, 31 Oct 2023 12:36:36 -0500 Subject: [PATCH 2/2] Update --- .github/workflows/deploy-satsuma.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-satsuma.yml b/.github/workflows/deploy-satsuma.yml index 646b4d4..cb87581 100644 --- a/.github/workflows/deploy-satsuma.yml +++ b/.github/workflows/deploy-satsuma.yml @@ -2,7 +2,10 @@ name: Deploy to Satsuma Service on: push: - branches: main + branches: + - 'main' + tags: + - "*" jobs: buildAndDeploy: