Skip to content

Commit

Permalink
Adding index page
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Tonsen committed Oct 27, 2023
1 parent 97ec1af commit f93af71
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-deploy-staging-vitepress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ jobs:
run: |
du -ah neon/.vitepress/dist
- name: Archive build artifacts
- name: Neon - Upload
uses: actions/upload-artifact@v2
with:
name: neon-vitepress-dist
name: neon
path: neon/.vitepress/dist

- name: Index - Upload
uses: actions/upload-artifact@v2
with:
name: index
path: index.html

deploy-staging:
name: Deploy to staging
Expand All @@ -53,14 +59,14 @@ jobs:
- name: Download generated website dist dir
uses: actions/download-artifact@v2
with:
name: neon-vitepress-dist
path: neon/.vitepress/dist
name: neon
path: neon/

- name: Rsync action - Deploy to staging
uses: burnett01/[email protected]
with:
switches: -hrvz --delete --exclude=".htaccess"
path: neon/.vitepress/dist/
path: .
remote_path: ${{ secrets.REMOTE_PATH }}
remote_host: ${{ secrets.REMOTE_HOST}}
remote_user: ${{ secrets.REMOTE_USER }}
Expand Down

0 comments on commit f93af71

Please sign in to comment.