diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b005666e..e1847d12b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ on: jobs: test: runs-on: ubuntu-22.04 + if: false services: rabbitmq: image: rabbitmq @@ -87,8 +88,7 @@ jobs: yarn ci build: - needs: test - if: github.ref == 'refs/heads/master' && github.repository_owner == 'ia-toki' + if: github.ref == 'refs/heads/regrade-loading' && github.repository_owner == 'ia-toki' runs-on: ubuntu-22.04 env: CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }} @@ -137,15 +137,14 @@ jobs: ${{ runner.os }}-yarn- - name: Build judgels-server - if: steps.changed-files.outputs.judgels-server == '1' + if: false run: ./deployment/scripts/build_judgels_server.sh - name: Build judgels-client - if: steps.changed-files.outputs.judgels-client == '1' run: ./deployment/scripts/build_judgels_client.sh - name: Build judgels-grader - if: steps.changed-files.outputs.judgels-grader == '1' + if: false run: ./deployment/scripts/build_judgels_grader.sh deploy-web: @@ -190,7 +189,7 @@ jobs: deploy-tlx-staging: needs: build - if: github.ref == 'refs/heads/master' && github.repository_owner == 'ia-toki' + if: github.ref == 'refs/heads/regrade-loading' && github.repository_owner == 'ia-toki' runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -212,7 +211,7 @@ jobs: run: python3 ci/check-changed-files.py | bash - name: Deploy judgels-server - if: steps.changed-files.outputs.judgels-server == '1' + if: false run: | eval "$(ssh-agent -s)" ssh-add deployment/ansible/env/deployment_rsa @@ -226,7 +225,7 @@ jobs: ./deployment/scripts/deploy_judgels_client.sh - name: Deploy judgels-grader - if: steps.changed-files.outputs.judgels-grader == '1' + if: false run: | eval "$(ssh-agent -s)" ssh-add deployment/ansible/env/deployment_rsa diff --git a/deployment/scripts/build_judgels_client.sh b/deployment/scripts/build_judgels_client.sh index 7bc8a931a..46d92d441 100755 --- a/deployment/scripts/build_judgels_client.sh +++ b/deployment/scripts/build_judgels_client.sh @@ -12,4 +12,4 @@ rm -rf dist/build && mv build dist/ cd ../deployment/ansible ansible --version 0