Skip to content

Merge pull request #12 from spectrum-finance/tokens-file-fixes #3

Merge pull request #12 from spectrum-finance/tokens-file-fixes

Merge pull request #12 from spectrum-finance/tokens-file-fixes #3

Workflow file for this run

name: Deploy token list
on:
push:
branches:
- "main"
jobs:
release:
name: Deploy
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: Publish The 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 }}