Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,24 @@ jobs:
- uses: actions/checkout@v2

# used for documentation deployment
#- name: Get Bot Application Token
# #if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
# id: get_workflow_token
# uses: peter-murray/workflow-application-token-action@v1
# with:
# application_id: ${{ secrets.BOT_APPLICATION_ID }}
# application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}
- name: Get Bot Application Token
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.BOT_APPLICATION_ID }}
application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install OS packages
run: |
sudo apt update
sudo apt install pandoc libegl1

- name: Install pyfluent-visualization
run: make install

Expand Down Expand Up @@ -121,7 +126,7 @@ jobs:
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
repository-name: pyansys/pyfluent-visualization-docs
token: ${{ secrets.DOC_DEPLOYMENT_PAT }}
token: ${{ steps.get_workflow_token.outputs.token }}
BRANCH: gh-pages
FOLDER: doc/_build/html
CLEAN: true
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/nightly-doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@ jobs:
- uses: actions/checkout@v2

# used for documentation deployment
#- name: Get Bot Application Token
# id: get_workflow_token
# uses: peter-murray/workflow-application-token-action@v1
# with:
# application_id: ${{ secrets.BOT_APPLICATION_ID }}
# application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}
- name: Get Bot Application Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.BOT_APPLICATION_ID }}
application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install OS packages
run: |
sudo apt update
sudo apt install pandoc libegl1

- name: Install pyfluent-visualization
run: make install

Expand All @@ -48,7 +53,7 @@ jobs:
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
repository-name: pyansys/pyfluent-visualization-dev-docs
token: ${{ secrets.DOC_DEPLOYMENT_PAT }}
token: ${{ steps.get_workflow_token.outputs.token }}
BRANCH: gh-pages
FOLDER: doc/_build/html
CLEAN: true