Skip to content

Commit

Permalink
Deploy via SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
dalegaard committed Nov 16, 2023
1 parent 4fc03ee commit e62cf06
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jobs:
uses: oven-sh/setup-bun@v1
- name: Build all tools
run: ./build.sh
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
path: "dist/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy
run: rsync -avz --delete ./dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_TARGET_DIR }}

0 comments on commit e62cf06

Please sign in to comment.