diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index da3a67fc155e..f8efc09e5120 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,7 @@ jobs: - name: Build docs run: ./dev/build-docs.sh - name: Deploy docs - if: github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && ${{ !github.event.pull_request.head.repo.fork }} + if: ${{ github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }} env: AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 3a58503ea66e..4168f5938f42 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,7 +30,7 @@ jobs: - name: Test wheel run: ./dev/test-wheel.sh - name: Upload wheel - if: github.repository == 'adap/flower' && ${{ !github.event.pull_request.head.repo.fork }} + if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }} id: upload env: AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}