mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Don't use the github actor env var when not inside a PR
This commit is contained in:
6
.github/workflows/integration-test.yaml
vendored
6
.github/workflows/integration-test.yaml
vendored
@@ -13,7 +13,11 @@ jobs:
|
|||||||
python-version: 3.6
|
python-version: 3.6
|
||||||
- name: Set BOOTSTRAP_PIP_SPEC value
|
- name: Set BOOTSTRAP_PIP_SPEC value
|
||||||
run: |
|
run: |
|
||||||
echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_ACTOR/the-littlest-jupyterhub.git@$GITHUB_SHA" >> $GITHUB_ENV
|
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
|
- name: Build systemd image
|
||||||
run: |
|
run: |
|
||||||
.github/integration-test.py build-image
|
.github/integration-test.py build-image
|
||||||
|
|||||||
Reference in New Issue
Block a user