Skip to content

Merge pull request #594 from whalemachine/patch-1 #446

Merge pull request #594 from whalemachine/patch-1

Merge pull request #594 from whalemachine/patch-1 #446

Workflow file for this run

name: GitHub Pages
on:
push:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential git -y
sudo apt-get install libudev-dev -y
sudo apt-get install libusb-1.0-0-dev -y
- name: Install and Build
run: |
npm install
npm run wallet:build
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.