Refactor NostrService #14
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 and Publish Web Site | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build: | |
name: Build and Push | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
name: Checkout | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
- name: Redirect 404 to Index for SPA | |
run: cp dist/browser/index.html dist/browser/404.html | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist/browser | |
cname: hub.angor.io |