Fix: reset score sort in submission sort to default #112
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: CI staging deploy | |
| on: | |
| push: | |
| branches: | |
| - development | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| name: Deploy to staging | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository 🛎️ | |
| uses: actions/checkout@v3 | |
| - name: Build 🏗️ | |
| uses: ./.github/actions/build | |
| env: | |
| VITE_BASHAWAY_BE_URL: ${{ secrets.STAGING_BASHAWAY_BE_URL }} | |
| VITE_FIREBASE_CONFIG: ${{ secrets.STAGING_FIREBASE_CONFIG }} | |
| VITE_AZURE_UPLOAD_SAS_TOKEN: ${{ secrets.STAGING_AZURE_UPLOAD_SAS_TOKEN }} | |
| VITE_AZURE_DOWNLOAD_SAS_TOKEN: ${{ secrets.STAGING_AZURE_DOWNLOAD_SAS_TOKEN }} | |
| VITE_AZURE_GENERIC_UPLOAD_SAS_TOKEN: ${{ secrets.STAGING_AZURE_GENERIC_UPLOAD_SAS_TOKEN }} | |
| VITE_AZURE_STORAGE_ACCOUNT: ${{ secrets.STAGING_AZURE_STORAGE_ACCOUNT }} | |
| VITE_AZURE_GENERIC_STORAGE_ACCOUNT: ${{ secrets.STAGING_AZURE_GENERIC_STORAGE_ACCOUNT }} | |
| VITE_AZURE_STORAGE_CONTAINER: ${{ secrets.STAGING_AZURE_STORAGE_CONTAINER }} | |
| VITE_SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
| VITE_APP_ENV: staging | |
| - name: Fix base URL 🔧 | |
| run: sed -i "s/.\/assets/\/assets/" dist/index.html | |
| - name: Fix 404 on page reload 🚧 | |
| uses: sliit-foss/actions/preview-deployments/404@main | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: ./dist/ | |
| branch: gh-pages | |
| clean-exclude: preview |