Skip to content

Commit

Permalink
Switched to publish docs within this repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Sep 1, 2024
1 parent 2a4e6a7 commit 3a052a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 154 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/vortex-release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
working-directory: .vortex/installer

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: vortex-installer
path: .vortex/installer/build/installer
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
uses: shivammathur/setup-php@v2

- name: Download installer
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: vortex-installer

Expand All @@ -117,18 +117,7 @@ jobs:
- name: Upload documentation site
uses: actions/upload-pages-artifact@v3
with:
path: ".vortex/docs/build"
path: .vortex/docs/build

- name: Setup SSH private key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DOCS_PUBLISH_SSH_PRIVATE_KEY }}

- name: Publish docs
run: |
cd "${GITHUB_WORKSPACE}/.vortex/docs"
export DOCS_PUBLISH_SRC_DIR="${GITHUB_WORKSPACE}/.vortex/docs/build"
export [email protected]:drevops/vortex-docs.git
export DOCS_PUBLISH_COMMIT_MESSAGE="Automatically pushed from drevops/vortex"
export DOCS_PUBLISH_GIT_EMAIL="[email protected]"
./.utils/publish.sh
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
138 changes: 0 additions & 138 deletions .vortex/docs/.utils/publish.sh

This file was deleted.

1 comment on commit 3a052a4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.