Skip to content

Commit

Permalink
Updates github deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BenParizek committed Jun 30, 2024
1 parent 84e52e3 commit 600277b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/deploy-craft-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,4 @@ jobs:
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.DOCUMENT_ROOT }}docs/craft-v4/
ARGS: "-rltgoDzvO --delete"
SOURCE: "docs/.vitepress/dist/"

# This section can be removed for all branches except the current version release branch
- name: Symlink doc folders to public folder
uses: appleboy/ssh-action@master
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
script: |
ln -sfn ${{ secrets.DOCUMENT_ROOT }}docs/craft-v4 ${{ secrets.DOCUMENT_ROOT }}public/docs/craft-v4
ln -sfn ${{ secrets.DOCUMENT_ROOT }}docs/craft-v3 ${{ secrets.DOCUMENT_ROOT }}public/docs/craft-v3
ln -sfn ${{ secrets.DOCUMENT_ROOT }}docs/craft-v2 ${{ secrets.DOCUMENT_ROOT }}public/docs/craft-v2
SOURCE: "docs/.vitepress/dist/"

0 comments on commit 600277b

Please sign in to comment.