update list.js #143
Workflow file for this run
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: Build | |
on: | |
# Run the build for pushes and pull requests targeting master | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Setup Node | |
- name: Setup (Node.js ${{ matrix.node-version }}) | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# Install and build | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
# Deploy, limited to the master branch | |
- name: Deploy | |
if: success() && github.ref == 'refs/heads/master' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./build | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
cname: directory.btcpayserver.org | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |