From: gggeek Date: Wed, 11 Jan 2023 14:24:55 +0000 (+0000) Subject: cd workflow: split deploy to altervista to a separate job X-Git-Tag: 4.10.0~174 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3dc696ff2fad68b9ede17ff2d7b19055f1660cb4;p=plcapi.git cd workflow: split deploy to altervista to a separate job --- diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index ce3e3301..35a93e2f 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -116,6 +116,13 @@ jobs: chmod 755 ./taskfile ./taskfile setup_debugger_visualeditor + deploy_to_altervista: + if: ${{ startsWith(github.ref_name, '4.') && !(contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc')) }} + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v3 + # upload the lib to gggeek.altervista.org via ftp - name: upload lib to gggeek.altervista.org - src #if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}