Added sort function to columns in rs_tiers.html (closes #118) #18
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 | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| generate-api: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Generate API endpoints | |
| run: | | |
| echo "Generating API endpoints..." | |
| python scripts/generate_api.py | |
| echo "✓ API endpoints generated" | |
| ls -lh api/ | |
| - name: Upload API artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: api-endpoints | |
| path: 'api/' | |
| build-pages: | |
| runs-on: ubuntu-latest | |
| needs: generate-api | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Download API artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: api-endpoints | |
| path: api/ | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: '.' | |
| deploy: | |
| # Only deploy on pushes to main, not on pull requests | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build-pages | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |