File tree 3 files changed +32
-5
lines changed
3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 34
34
run : cargo install trunk
35
35
# if: steps.cache.outputs.cache-hit != 'true'
36
36
37
- # - name: Build with Trunk
38
- # run: trunk build --release
39
- # working-directory: client
37
+ - name : Build with Trunk
38
+ run : trunk build --release
39
+ working-directory : client
40
40
41
41
- name : Create SSH Key
42
42
run : |
49
49
run : ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ${{ secrets.SSH_PRIVATE_KEY_PATH }}/known_hosts
50
50
51
51
- name : Copy Files to Server
52
- run : scp -i ${{ secrets.SSH_PRIVATE_KEY_PATH }}/${{ secrets.SSH_PRIVATE_KEY_NAME }} -r client/dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ vars.DEVBLOG_ROOT_PATH }}/client
52
+ run : |
53
+ scp -i ${{ secrets.SSH_PRIVATE_KEY_PATH }}/${{ secrets.SSH_PRIVATE_KEY_NAME }} -r client/dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ vars.DEVBLOG_ROOT_PATH }}/client
54
+ scp -i ${{ secrets.SSH_PRIVATE_KEY_PATH }}/${{ secrets.SSH_PRIVATE_KEY_NAME }} docker-compose.yaml ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ vars.DEVBLOG_ROOT_PATH }}
53
55
54
56
- name : Restart Container
55
57
run : |
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pub fn home() -> Html {
152
152
if !* loading {
153
153
<Post post={ ( * latest_post) . clone( ) } post_number={ * total_posts_count} on_post_delete={ & on_post_delete} />
154
154
} else {
155
- <h1>{ "Loading....................... " } </h1>
155
+ <h1>{ "Loading..." } </h1>
156
156
}
157
157
158
158
// youtube video
Original file line number Diff line number Diff line change
1
+ services :
2
+ proxy :
3
+ image : proxy
4
+ build : ./proxy
5
+ container_name : proxy
6
+ depends_on :
7
+ - devblog_staging_client
8
+ volumes :
9
+ - /home/devmaster/app/proxy/default.conf:/etc/nginx/conf.d/default.conf
10
+ - /etc/ssl/certs/andrewtest.org:/etc/ssl/certs/andrewtest.org
11
+ restart : on-failure
12
+ ports :
13
+ - 443:443
14
+
15
+ devblog_staging_client :
16
+ image : andrewtest.org_client
17
+ build : ./client
18
+ container_name : andrewtest.org_client
19
+ restart : on-failure
20
+ volumes :
21
+ - ./client/dist:/app
22
+ - ./client/nginx.conf:/etc/nginx/nginx.conf
23
+ - /etc/ssl/certs/andrewtest.org:/etc/ssl/certs/andrewtest.org
24
+ ports :
25
+ - 8082:443
You can’t perform that action at this time.
0 commit comments