Skip to content

Commit

Permalink
Remove doc and docker generation
Browse files Browse the repository at this point in the history
  • Loading branch information
slacrherbst committed Aug 23, 2023
1 parent b00c468 commit c301278
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/rogue_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit c301278

Please sign in to comment.