Merge pull request #104 from Tendsty/develop #32
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: Deploy to Github Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| gh-pages-deploy: | |
| name: Deploying to Github Pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| token: ${{ secrets.PAGES_TOKEN }} | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| - name: Install packages | |
| run: npm i | |
| - name: Set Creds | |
| run: git config user.name "Tendsty" && git config user.email "137620092+Tendsty@users.noreply.github.com" | |
| - name: Deploy | |
| run: npm run deploy |