fix /reset all-hunter-stats not resetting toasts or season stats
#578
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: On Update to Main | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v6.0.2 | |
| # - name: Generate Sponsors 💖 | |
| # uses: JamesIves/github-sponsors-readme-action@1.0.5 | |
| # with: | |
| # token: ${{ secrets.SECRET_WITH_SPONSORS_ACCESS }} | |
| # file: 'README.md' | |
| # # minimum: 2500 | |
| - name: Deploy to GitHub Pages 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: main | |
| folder: '.' | |
| - name: Setup npm | |
| run: npm ci --omit dev && node scripts/initialize.js | |
| - name: Update Commands | |
| run: node scripts/updateWiki.js | |
| - name: Push Changes to Repo | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add . | |
| git commit -m "update wiki/Commands.md" && git push origin main || true | |
| - name: Push Wiki Changes | |
| uses: Andrew-Chen-Wang/github-wiki-action@v5.0.4 | |
| with: | |
| path: wiki |