Skip to content

Commit

Permalink
deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Sep 13, 2024
1 parent 7f27b7f commit 33a8051
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on:
tags:
- v*
branches:
- main
- site-deploy
- deploy

jobs:
build:
build_and_deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build gosub website
uses: withastro/action@v2
- name: SSH setup
run: |
mkdir -p ~/.ssh
Expand All @@ -23,4 +24,4 @@ jobs:
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
SSH_DEPLOY_KEY: ${{secrets.SSH_DEPLOY_KEY}}
- name: Rsync
run: rsync -avz public/ deploy@developer.gosub.io:/wwwroot/gosub.io/public
run: rsync -avz dist/ deploy@developer.gosub.io:/wwwroot/gosub.io/public

0 comments on commit 33a8051

Please sign in to comment.