diff --git a/.github/workflows/rogue_ci.yml b/.github/workflows/rogue_ci.yml index 18ede8b84..a72483e27 100644 --- a/.github/workflows/rogue_ci.yml +++ b/.github/workflows/rogue_ci.yml @@ -104,13 +104,6 @@ jobs: cd docs make html - - name: Deploy Documentation - if: github.ref == 'refs/heads/documentation' - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GH_TOKEN }} - publish_dir: docs/build/html - small_build_test: name: Small Build Test runs-on: ubuntu-20.04 @@ -251,48 +244,4 @@ jobs: conda build conda-recipe --debug --output-folder bld-dir -c tidair-packages -c conda-forge anaconda -t ${{ steps.get_image_info.outputs.token }} upload --force bld-dir/${{ steps.get_image_info.outputs.os }}/*.tar.bz2 - docker_build: - name: Docker Build - runs-on: ubuntu-20.04 - needs: [full_build_test, small_build_test] - if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/pre-release' - steps: - - # This step checks out a copy of your repository. - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Get Image Information - id: get_image_info - run: | - echo ::set-output name=tag::`git describe --tags` - echo ::set-output name=branch::`echo ${GITHUB_REF} | awk 'BEGIN { FS = "/" } ; { print $3 }'` - if [ ${GITHUB_REF} == "refs/heads/pre-release" ] - then - echo ::set-output name=name::"rogue-dev" - else - echo ::set-output name=name::"rogue" - fi - - # Setup docker build environment - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - # Login to Dockerhub - - name: Login to Dockerhub - uses: docker/login-action@v1 - with: - username: tidair - password: ${{ secrets.DOCKERHUB_TOKEN }} - - # Build and push the docker image - - name: Build and push image to Dockerhub - uses: docker/build-push-action@v2 - with: - context: . - file: ./Dockerfile - push: true - tags: tidair/${{ steps.get_image_info.outputs.name }}:${{ steps.get_image_info.outputs.tag }} - build-args: branch=${{ steps.get_image_info.outputs.branch }}