Skip to content

Commit 33a8051

Browse files
committed
deploy test
1 parent 7f27b7f commit 33a8051

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
tags:
66
- v*
77
branches:
8-
- main
9-
- site-deploy
8+
- deploy
109

1110
jobs:
12-
build:
11+
build_and_deploy:
1312
runs-on: ubuntu-22.04
1413
steps:
15-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
15+
- name: Build gosub website
16+
uses: withastro/action@v2
1617
- name: SSH setup
1718
run: |
1819
mkdir -p ~/.ssh
@@ -23,4 +24,4 @@ jobs:
2324
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
2425
SSH_DEPLOY_KEY: ${{secrets.SSH_DEPLOY_KEY}}
2526
- name: Rsync
26-
run: rsync -avz public/ deploy@developer.gosub.io:/wwwroot/gosub.io/public
27+
run: rsync -avz dist/ deploy@developer.gosub.io:/wwwroot/gosub.io/public

0 commit comments

Comments
 (0)