Skip to content

Commit ad8ac3f

Browse files
committed
Merge branch '3.x' of github.com:supercharge/docs into 3.x
2 parents 79db837 + fa1639e commit ad8ac3f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Production Deployment
2+
3+
on:
4+
push:
5+
branches:
6+
- 3.x
7+
- 4.x
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20.x]
16+
17+
name: Node ${{ matrix.node-version }}
18+
19+
steps:
20+
- name: Running deployment script on server
21+
uses: appleboy/ssh-action@master
22+
with:
23+
host: ${{ secrets.SUPERCHARGE_DEPLOY_SSH_HOST }}
24+
username: ${{ secrets.SUPERCHARGE_DEPLOY_SSH_USER }}
25+
port: ${{ secrets.SUPERCHARGE_DEPLOY_SSH_PORT }}
26+
key: ${{ secrets.SUPERCHARGE_DEPLOY_SSH_PRIVATE_KEY }}
27+
script: /home/launch/scripts/deploy-supercharge-docs.sh

0 commit comments

Comments
 (0)