Merge pull request #80 from Giveth/f_update_readme #77
This file contains hidden or 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
| name: Deploy Graph to Develop | |
| on: | |
| push: | |
| branches: [develop] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn --frozen-lockfile | |
| - name: Lint | |
| run: yarn lint | |
| deploy-staging-goerli: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn --frozen-lockfile | |
| - name: Generate Manifest | |
| run: yarn generate-manifests | |
| - uses: gtaschuk/graph-deploy@v0.1.9 | |
| with: | |
| graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }} | |
| graph_subgraph_name: giveth-economy-goerli-staging | |
| graph_account: giveth | |
| graph_config_file: subgraph.deployment-7-goerli.yaml | |
| deploy-staging-gnosis: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn --frozen-lockfile | |
| - name: Generate Manifest | |
| run: yarn generate-manifests | |
| - uses: gtaschuk/graph-deploy@v0.1.9 | |
| with: | |
| graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }} | |
| graph_subgraph_name: giveth-economy-xdai-staging | |
| graph_account: giveth | |
| graph_config_file: subgraph.deployment-7-gnosis.yaml | |
| deploy-staging-optimism-goerli: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn --frozen-lockfile | |
| - name: Generate Manifest | |
| run: yarn generate-manifests | |
| - uses: gtaschuk/graph-deploy@v0.1.9 | |
| with: | |
| graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }} | |
| graph_subgraph_name: giveth-economy-optim-staging | |
| graph_account: giveth | |
| graph_config_file: subgraph.deployment-7-optimism-goerli.yaml | |
| deploy-staging-optimism-sepolia: | |
| needs: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| - name: Install | |
| run: yarn --frozen-lockfile | |
| - name: Generate Manifest | |
| run: yarn generate-manifests | |
| - uses: gtaschuk/graph-deploy@v0.1.9 | |
| with: | |
| graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }} | |
| graph_subgraph_name: giveth-economy-optim-sepolia | |
| graph_account: giveth | |
| graph_config_file: subgraph.deployment-7-optimism-sepolia.yaml |