Skip to content

Merge pull request #212 from pavlenex/case-study-bhb24 #179

Merge pull request #212 from pavlenex/case-study-bhb24

Merge pull request #212 from pavlenex/case-study-bhb24 #179

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout and setup
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: 18
# Install and build
- name: Install
run: npm ci
- name: Build
run: |
npm run init
npm run prod
env:
CI: true
TRANSIFEX_TOKEN: ${{ secrets.TRANSIFEX_TOKEN }}
# Deploy, limited to the main branch
- name: Deploy
if: success() && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./dist
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: btcpayserver.org
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'