diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 143b0bdd3048..202ddcb5a7bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: env: PRIMARY_NODE_VERSION: 18 # Only set the read-write token if we are on the main branch - NX_CLOUD_ACCESS_TOKEN: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.NX_CLOUD_ACCESS_TOKEN }} + NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && secrets.NX_CLOUD_ACCESS_TOKEN || '' }} defaults: run: