-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add release workflow to help with releasing :fingers_crossed:
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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 | ||
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 |