File tree Expand file tree Collapse file tree 2 files changed +44
-3
lines changed Expand file tree Collapse file tree 2 files changed +44
-3
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 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'
You can’t perform that action at this time.
0 commit comments