Merge pull request #9 from LetterN/patch-1 #4
This file contains hidden or 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: publish | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| jobs: | |
| gh-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16.x' | |
| - name: Install Dependencies | |
| run: npm i | |
| - name: Build Project | |
| run: npm run build | |
| - name: Prepare Project | |
| run: touch dist/.nojekyll | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@4.1.5 | |
| with: | |
| branch: gh-pages | |
| folder: dist |