Skip to content

Merge pull request #65 from ichiro-its/hotfix/fix-keisan-unit-tests #17

Merge pull request #65 from ichiro-its/hotfix/fix-keisan-unit-tests

Merge pull request #65 from ichiro-its/hotfix/fix-keisan-unit-tests #17

name: Deploy Debian Nightly
on:
workflow_dispatch:
push:
branches: [master]
jobs:
deploy-debian-nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]
with:
path: keisan
- name: Build nightly Debian package
uses: ichiro-its/ros2-build-debian-action@main
with:
ros2-distro: rolling
unique-version: true
- name: Deploy nightly Debian package to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
source: "package/*.deb"
target: "~/temp/nightly/keisan/"
rm: true
- name: Prepare nightly Debian package in the server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}
script: |
cd ${{ secrets.SERVER_REPO_DIR }}/debian
reprepro includedeb nightly ~/temp/nightly/keisan/package/*.deb
rm -rf ~/temp/nightly/keisan/