Add krrishverma1805-web contributor component #58
Workflow file for this run
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: Continuous Integration | |
| on: | |
| pull_request: | |
| branches: ['**'] | |
| push: | |
| branches: ['main'] | |
| jobs: | |
| build: | |
| name: Build and Deploy | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - run: sbt scalafmtSbtCheck scalafmtCheckAll | |
| - run: sbt fastLinkJS | |
| - if: github.event_name != 'pull_request' | |
| run: | | |
| mkdir deploy | |
| cp --parents index.html target/scala-3.8.2/gsoc-onboarding-fastopt/main.js deploy | |
| - if: github.event_name != 'pull_request' | |
| uses: peaceiris/actions-gh-pages@v4.0.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: deploy |