Skip to content

Commit 22a8458

Browse files
authored
Fix out of disk space issue on during CI
1 parent 84f5ab1 commit 22a8458

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,30 @@ jobs:
4444
cd test
4545
bash run_test.sh
4646
47+
build_and_deploy_docs:
48+
49+
# The type of runner that the job will run on Ubuntu 18.04 (latest)
50+
runs-on: ubuntu-latest
51+
52+
# Steps represent a sequence of tasks that will be
53+
# executed as part of the job
54+
steps:
55+
# Checks-out your repository under $GITHUB_WORKSPACE,
56+
# so your job can access it
57+
- uses: actions/checkout@v3
58+
with:
59+
fetch-depth: 0
60+
ref: ${{ github.event.pull_request.head.ref }}
61+
62+
- name: Login to DockerHub
63+
uses: docker/login-action@v1
64+
with:
65+
username: ${{ secrets.DOCKER_USER }}
66+
password: ${{ secrets.DOCKER_PASS }}
67+
4768
- name: Build Notebook Docker
48-
run: |
49-
cd docker
50-
bash build_images.sh
69+
run: './ci.sh'
70+
shell: bash
5171

5272
- name: Publish to PyPi
5373
env:

.github/workflows/release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,27 @@ jobs:
4343
pip3 install ipython torch torchvision boto3
4444
cd test
4545
bash run_test.sh
46+
47+
build_and_deploy_docs:
48+
49+
# The type of runner that the job will run on Ubuntu 18.04 (latest)
50+
runs-on: ubuntu-latest
51+
52+
# Steps represent a sequence of tasks that will be
53+
# executed as part of the job
54+
steps:
55+
# Checks-out your repository under $GITHUB_WORKSPACE,
56+
# so your job can access it
57+
- uses: actions/checkout@v3
58+
with:
59+
fetch-depth: 0
60+
ref: ${{ github.event.pull_request.head.ref }}
61+
62+
- name: Login to DockerHub
63+
uses: docker/login-action@v1
64+
with:
65+
username: ${{ secrets.DOCKER_USER }}
66+
password: ${{ secrets.DOCKER_PASS }}
4667

4768
- name: Build Notebook Docker
4869
run: './ci.sh'

0 commit comments

Comments
 (0)