Skip to content

Commit

Permalink
add deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Dec 25, 2024
1 parent 5579a15 commit 804ddc7
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
working-directory: www
- run: npm run build
working-directory: www
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
- uses: burnett01/[email protected]
with:
branch: gh-pages
folder: www/.vitepress/dist
token: ${{ secrets.GITHUB_TOKEN }}
switches: -rv --delete
path: www/.vitepress/dist/
remote_path: /home/pomdtr.me/sunbeam-rsync
remote_host: ssh.smallweb.run
remote_user: pomdtr
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
# - name: Deploy to Github Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: www/.vitepress/dist
# token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 804ddc7

Please sign in to comment.