feat: better error handling when wrong file format is uploaded #15
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: Deploy | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
npm install | |
#- name: Test | |
# run: | | |
# npm run test | |
- name: Build | |
run: | | |
npx ng build --base-href ./ | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist/transcription-playground-for-wsb/browser # The folder the action should deploy. |