Aqua Patina APY adapter (#1597) #3257
This file contains 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 | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
strategy: | |
matrix: | |
node-version: [16.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: node scripts/createAdapterList.js | |
- name: Deploy infrastructure stack | |
run: npm run deploy | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
ALCHEMY_CONNECTION_ARBITRUM: ${{ secrets.ALCHEMY_CONNECTION_ARBITRUM }} | |
ALCHEMY_CONNECTION_ETHEREUM: ${{ secrets.ALCHEMY_CONNECTION_ETHEREUM }} | |
ALCHEMY_CONNECTION_POLYGON: ${{ secrets.ALCHEMY_CONNECTION_POLYGON }} | |
ETHEREUM_RPC: ${{ secrets.ETHEREUM_RPC }} | |
XDAI_RPC: ${{ secrets.XDAI_RPC }} | |
CRONOS_RPC: ${{ secrets.CRONOS_RPC }} | |
FANTOM_RPC: ${{ secrets.FANTOM_RPC }} | |
OPTIMISM_RPC: ${{ secrets.OPTIMISM_RPC }} | |
AVAX_RPC: ${{ secrets.AVAX_RPC }} | |
ARBITRUM_RPC: ${{ secrets.ARBITRUM_RPC }} | |
TRON_RPC: ${{ secrets.TRON_RPC }} | |
BASE_RPC: ${{ secrets.BASE_RPC }} | |
TVL_SPIKE_WEBHOOK: ${{ secrets.TVL_SPIKE_WEBHOOK }} | |
NEW_YIELDS_WEBHOOK: ${{ secrets.NEW_YIELDS_WEBHOOK }} | |
STALE_PROJECTS_WEBHOOK: ${{ secrets.STALE_PROJECTS_WEBHOOK }} | |
ZEROX_API: ${{ secrets.ZEROX_API }} | |
SMARDEX_SUBGRAPH_API_KEY: ${{ secrets.SMARDEX_SUBGRAPH_API_KEY }} | |
VENDOR_FINANCE: ${{ secrets.VENDOR_FINANCE }} | |
TRADERJOE: ${{ secrets.TRADERJOE }} | |
GRAPH_API_KEY: ${{ secrets.GRAPH_API_KEY }} |