cd workflow: split deploy to altervista to a separate job
authorgggeek <giunta.gaetano@gmail.com>
Wed, 11 Jan 2023 14:24:55 +0000 (14:24 +0000)
committergggeek <giunta.gaetano@gmail.com>
Wed, 11 Jan 2023 14:24:55 +0000 (14:24 +0000)
.github/workflows/cd.yaml

index ce3e330..35a93e2 100644 (file)
@@ -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.') }}