Skip to content

Commit 34a248f

Browse files
committed
feat: update action
1 parent c4a6f2a commit 34a248f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: WVM Blockscout frontend deploy
22
on:
33
push:
4-
branches: [ "main" ]
4+
branches: ["main"]
55

66
jobs:
77
build:
88
name: Deploy
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: executing remote ssh commands using password
12-
uses: appleboy/ssh-action@master
13-
with:
14-
host: ${{ secrets.SERVER_IP }}
15-
username: ${{ secrets.SERVER_USERNAME }}
16-
key: ${{ secrets.SERVER_KEY }}
17-
passphrase: ${{ secrets.SERVER_PASSPHRASE }}
18-
script: |
11+
- name: executing remote ssh commands using password
12+
uses: appleboy/ssh-action@master
13+
with:
14+
host: ${{ secrets.SERVER_IP }}
15+
username: ${{ secrets.SERVER_USERNAME }}
16+
key: ${{ secrets.SERVER_KEY }}
17+
passphrase: ${{ secrets.SERVER_PASSPHRASE }}
18+
script: |
1919
cd /home/blockexplorer/code/wvm-blockscout-frontend
2020
git checkout main
2121
git pull origin main
2222
docker build --platform linux/amd64 -t frontend:local .
23-
cd /home/blockexplorer/code/wvm-blockscout/docker-compose/prod
23+
cd /home/blockexplorer/code/wvm-blockscout/docker-compose/load_network_prod
2424
docker compose up --build -d

0 commit comments

Comments
 (0)