Skip to content

Merge pull request #11 from NoahErgo/main #14

Merge pull request #11 from NoahErgo/main

Merge pull request #11 from NoahErgo/main #14

Workflow file for this run

name: Release token list
on:
push:
branches:
- "main"
jobs:
release:
name: Push default token list
runs-on: ubuntu-latest
steps:
- name: load repo
uses: actions/checkout@v3
- name: build
uses: actions/setup-node@v1
with:
node-version: 14
- run: |
yarn install --frozen-lockfile
yarn build
- name: Push List
uses: garygrossgarten/github-action-scp@release
with:
local: ergo-token-list.json
remote: /var/www/tokenlist/ergo-token-list.json
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
privateKey: ${{ secrets.KEY }}
- name: Push Schema
uses: garygrossgarten/github-action-scp@release
with:
local: src/schema/tokenlist.ergo.schema.json
remote: /var/www/tokenlist/tokenlist.ergo.schema.json
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
privateKey: ${{ secrets.KEY }}