Skip to content

Commit

Permalink
[HOTFIX] Solving Github action for compile and push the documentation…
Browse files Browse the repository at this point in the history
… (added .git to the container)
  • Loading branch information
AlejandroCN7 committed Aug 25, 2023
1 parent 602cdb5 commit 53c814d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: git config --global --add safe.directory /sinergym
- name: Compile documentation
if: steps.verify-documentation-update.outputs.doc == 'true'
run: docker run -v ${GITHUB_WORKSPACE}/docs/compilation:/sinergym/docs/compilation -v ${GITHUB_WORKSPACE}/.git:/sinergym/.git -t pushmain/sinergym:latest /bin/bash -c 'sphinx-multiversion docs/source docs/compilation'
run: docker run -v ${GITHUB_WORKSPACE}/docs/compilation:/sinergym/docs/compilation -t pushmain/sinergym:latest /bin/bash -c 'sphinx-multiversion docs/source docs/compilation'
- name: Check sphinx spelling
if: steps.verify-documentation-update.outputs.doc == 'true'
run: docker run -t pushmain/sinergym:latest /bin/bash -c 'sphinx-build -M spelling docs/source docs/compilation'
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ COPY sinergym /sinergym/sinergym
COPY tests /sinergym/tests
COPY examples /sinergym/examples
COPY docs/source /sinergym/docs/source
COPY .git/ ./.git
RUN pip install -e .${SINERGYM_EXTRAS}

#RUN pip install idna && pip install six
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ is the result of the simulation and we have:
If you want to know more about this files, visit
`EnergyPlus documentation <https://energyplus.net/documentation>`__.

* **data_available.txt**: This file is generated when *EnergyPlus* API initialize all
* **data_available.txt**: This file is generated when *EnergyPlus* API initializes all
callbacks and handlers for the simulation. In this file, we can find all the available
components of the building model such as actuators, schedulers, meters, variables, internal
variables, etc.
Expand Down

0 comments on commit 53c814d

Please sign in to comment.