From d044f9a12bd90559dba79a34033d55697c43a063 Mon Sep 17 00:00:00 2001 From: James McLaughlin Date: Mon, 22 Nov 2021 11:23:17 +0000 Subject: [PATCH] Create pull-config-dev.yaml --- .github/workflows/pull-config-dev.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pull-config-dev.yaml diff --git a/.github/workflows/pull-config-dev.yaml b/.github/workflows/pull-config-dev.yaml new file mode 100644 index 0000000..3330fa1 --- /dev/null +++ b/.github/workflows/pull-config-dev.yaml @@ -0,0 +1,19 @@ + +name: Pull config on ontotools-preprod server + +on: + workflow_dispatch: + push: + branches: + - dev + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + reload-config: + runs-on: self-hosted + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Pull config on ontotools-dev server + run: ssh spotbot@ontotools-dev "cd /srv/data/ols/config/OLS-Config && git pull origin dev" +