Skip to content

Commit

Permalink
Revert "Adding tags to documentation (#1282)"
Browse files Browse the repository at this point in the history
This reverts commit 115796e.
  • Loading branch information
akaszynski committed Aug 3, 2022
1 parent 2a6259f commit dc2a83a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,6 @@ jobs:
application_id: ${{ secrets.BOT_APPLICATION_ID }}
application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }}

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
with:
# Optionally strip `v` prefix
strip_v: false

- name: Setup Python
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -229,14 +221,13 @@ jobs:

- name: Deploy
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
uses: JamesIves/github-pages-deploy-action@v4.4.0
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
repository-name: pyansys/pymapdl-docs
token: ${{ steps.get_workflow_token.outputs.token }}
branch: gh-pages
folder: doc/build/html
clean: true
tag: ${{steps.tag.outputs.tag}}
BRANCH: gh-pages
FOLDER: doc/build/html
CLEAN: true

- name: Build PDF Documentation
working-directory: doc
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly-doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
xvfb-run make -C doc html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.0
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
repository-name: pyansys/pymapdl-dev-docs
token: ${{ steps.get_workflow_token.outputs.token }}
branch: gh-pages
folder: doc/build/html
clean: true
BRANCH: gh-pages
FOLDER: doc/build/html
CLEAN: true

- name: Notify if fail
uses: skitionek/notify-microsoft-teams@master
Expand Down

0 comments on commit dc2a83a

Please sign in to comment.