Skip to content

Commit

Permalink
ci: Remove sphinx builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yasharzolmajdi committed May 27, 2024
1 parent 5601bf2 commit 200603d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,3 @@ jobs:
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/ci-images:python-3.11-ci /scripts/publish-dev-version.sh
sphinx_documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Sphinx Image and Push to DockerHub
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_user -o .hub_user
./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_pass -o .hub_pass
./ci docker buildPush \
-f ./docs/Dockerfile \
-u $(cat .hub_user) \
-p $(cat .hub_pass) \
--suffix -docs
22 changes: 0 additions & 22 deletions .github/workflows/on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,3 @@ jobs:
target_branch: master
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}

sphinx_documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Retrieve build-time environment variables (Production)
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci vault get -k SEGMENT_WRITE_KEY -t $(cat .token) -p secret/data/python/prod -o ./docs/SEGMENT_WRITE_KEY
./ci vault get -k DOCSEARCH_APP_ID -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_APP_ID
./ci vault get -k DOCSEARCH_API_KEY -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_API_KEY
./ci vault get -k DOCSEARCH_INDEX_NAME -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_INDEX_NAME
- name: Build Sphinx Image and Push to DockerHub
run: |
./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_user -o .hub_user
./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_pass -o .hub_pass
./ci docker buildPush \
-f ./docs/Dockerfile \
-u $(cat .hub_user) \
-p $(cat .hub_pass) \
--suffix -docs

0 comments on commit 200603d

Please sign in to comment.