Skip to content

Create view for NFT drops (#101) #92

Create view for NFT drops (#101)

Create view for NFT drops (#101) #92

Workflow file for this run

name: Sandbox Deployment
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
name: Diesel and Hasura migrations
steps:
- name: Check out code
uses: actions/checkout@v2
# Authenticate/setup gcloud
- id: "auth"
uses: "google-github-actions/auth@v0"
with:
credentials_json: "${{ secrets.GCP_CREDENTIALS }}"
- name: Rust setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
- name: Diesel setup
run: |
sudo apt-get install libpq-dev && cargo install diesel_cli
- name: Hasura setup
run: |
sudo apt-get install curl
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash
- name: jq setup
uses: dcarbone/[email protected]
with:
version: 1.6
- name: Redeployment script
run: |
echo "${{ secrets.SANDBOX_ENV }}" > sandbox.env
scripts/redeploy.sh sandbox