mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
also upload if not push to developer for testing
This commit is contained in:
1 parent
26434b714f
commit
644033acb9
4 files changed
+13
-2
No files matched your search
@@ -4,6 +4,11 @@ on:
|
||||
#pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
# Cancel older runs of this workflow for the same PR/branch when a new push arrives
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Debug
|
||||
|
||||
@@ -25,7 +25,8 @@ jobs:
|
||||
make -j 2
|
||||
|
||||
- name: Deploy to NFS update server
|
||||
if: github.ref == 'refs/heads/developer'
|
||||
#if
|
||||
#: github.ref == 'refs/heads/developer'
|
||||
run: |
|
||||
cp -r build/bin /home/github_runner/slsDetectorSoftware/RH8
|
||||
cp slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer /home/github_runner/slsDetectorSoftware/RH8
|
||||
|
||||
@@ -4,6 +4,10 @@ on:
|
||||
#pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Debug
|
||||
|
||||
@@ -22,7 +22,8 @@ jobs:
|
||||
make -j 2
|
||||
|
||||
- name: Deploy to NFS update server
|
||||
if: github.ref == 'refs/heads/developer'
|
||||
#if
|
||||
#:github.ref == 'refs/heads/developer'
|
||||
run: |
|
||||
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put build/bin'
|
||||
sftp -r gitea_runner@mpc2935:/slsDetectorSoftware/RH9 <<< $'put pyctbgui'
|
||||
|
||||
Reference in new issue
Block a user