Update CI

This commit is contained in:
Aaran Xu 2022-02-01 15:16:18 +08:00
parent 5cfcf41b01
commit f8f8119884

View File

@ -65,6 +65,7 @@ jobs:
- name: Validate references - name: Validate references
run: bash ci/validate.sh run: bash ci/validate.sh
deploy: deploy:
if: ${{ github.ref == 'refs/heads/main' }}
name: Deploy name: Deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test, lint] needs: [test, lint]