Skip to content

Commit 9871993

Browse files
committed
add release workflow to help with releasing :fingers_crossed:
1 parent d126573 commit 9871993

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rapier CI build
2+
3+
on:
4+
workflow_run:
5+
workflows: [ci, links]
6+
branches: [master]
7+
types: [completed]
8+
workflow_dispatch:
9+
# workflow dispatch is to manually trigger the workflow,
10+
# useful if we want to bring an older version online or an upload failed somehow.
11+
12+
env:
13+
CARGO_TERM_COLOR: always
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Check Rsync version
21+
run: rsync --version
22+
shell: bash
23+
- name: Setup SSH Key
24+
run: |
25+
mkdir -p ~/.ssh
26+
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_deploy
27+
chmod 600 ~/.ssh/id_deploy
28+
ssh-keyscan -H ssh.cluster003.hosting.ovh.net >> ~/.ssh/known_hosts
29+
shell: bash
30+
- name: Publish
31+
run: |
32+
./publish.sh

0 commit comments

Comments
 (0)