Skip to content

Release workflow #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: Check Rsync version
run: rsync --version
Copy link
Contributor Author

@Vrixyz Vrixyz Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we may have to manually install rsync, I'm not sure it's included in ubuntu-latest (but it seems to be)

      - name: Install rsync
        run: sudo apt-get update && sudo apt-get -y install rsync

- name: Install Linux dependencies
uses: ./.github/actions/install-linux-deps
- 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