Skip to content

Commit

Permalink
add release workflow to help with releasing :fingers_crossed:
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Feb 19, 2025
1 parent d126573 commit 7b22230
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rapier CI build

on:
workflow_run:
workflows: [ci, links]
branches: [master]
types: [completed]
workflow_dispatch:
# workflow dispatch is to manually trigger the workflow,
# useful if we want to bring an older version online or an upload failed somehow.

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rsync
run: sudo apt-get update && sudo apt-get -y install rsync
- name: Check Rsync version
run: rsync --version
shell: bash
- name: Setup SSH Key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_deploy
chmod 600 ~/.ssh/id_deploy
ssh-keyscan -H ssh.cluster003.hosting.ovh.net >> ~/.ssh/known_hosts
shell: bash
- name: Publish
run: |
./publish.sh

0 comments on commit 7b22230

Please sign in to comment.