Don't use the github actor env var when not inside a PR

This commit is contained in:
GeorgianaElena
2021-04-05 12:40:32 +03:00
parent 94583fecfd
commit 98b55bf10c

View File

@@ -13,7 +13,11 @@ jobs:
python-version: 3.6
- name: Set BOOTSTRAP_PIP_SPEC value
run: |
if ${{ github.event_name != 'pull_request }}; then
echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_SHA" >> $GITHUB_ENV
else
echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_ACTOR/the-littlest-jupyterhub.git@$GITHUB_SHA" >> $GITHUB_ENV
fi
- name: Build systemd image
run: |
.github/integration-test.py build-image