Skip to content

Commit 14fb811

Browse files
committed
chore: deploy to scalingo via git push
Signed-off-by: Maud Royer <[email protected]>
1 parent d70f1cf commit 14fb811

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/scalingo.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Scalingo
2+
on:
3+
push:
4+
branches:
5+
- staging
6+
jobs:
7+
scalingo:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Add SSH key
15+
uses: webfactory/[email protected]
16+
with:
17+
ssh-private-key: ${{ secrets.SCALINGO_SSH_PRIVATE_KEY }}
18+
- name: Update known hosts
19+
run: ssh-keyscan -H ssh.osc-fr1.scalingo.com >> ~/.ssh/known_hosts
20+
- name: Push to Scalingo
21+
run: |
22+
git remote add scalingo ${{ secrets.SCALINGO_STAGING_REMOTE }}
23+
git push scalingo staging

0 commit comments

Comments
 (0)