Improved usage of Back functionality and overall history behavior #187
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: Build gh-pages | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-gh-pages: | |
| runs-on: ubuntu-latest | |
| name: Build and Push to gh-pages | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - run: npm ci | |
| - run: npm run test | |
| - run: npm run build | |
| - run: cp -a ./assets/. ./dist/ | |
| - name: Push | |
| uses: s0/git-publish-subdir-action@develop | |
| env: | |
| REPO: self | |
| BRANCH: gh-pages | |
| FOLDER: dist | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| MESSAGE: "Build: ({sha}) {msg}" |