#16 Support accounts with empty playlists #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 Deploy to gh-pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "10.x" | |
- name: Install Dependencies and Build | |
run: | | |
npm install | |
npm run build | |
env: | |
GENERATE_SOURCEMAP: "false" | |
CI: false | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build | |
PUBLISH_BRANCH: gh-pages | |
cname: emotionify.nitratine.net | |
force_orphan: true # Only keep latest commit in gh-pages (to keep repo size down) |