From 48cbe6f11a5911310c6d199e51c6e6bfcc91916c Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 17 Oct 2021 00:08:35 +0300 Subject: [PATCH] Upload release source package to CityMania --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dbc32977c9..cfb0223dd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -193,6 +193,18 @@ jobs: with: files: build/bundles/citymania-client-${{ steps.metadata.outputs.version }}-source.zip + - name: Upload to CityMania + uses: appleboy/scp-action@master + if: startsWith(github.ref, 'refs/tags/') + with: + host: ${{ secrets.UPLOAD_HOST }} + username: ${{ secrets.UPLOAD_USERNAME }} + key: ${{ secrets.UPLOAD_KEY }} + port: ${{ secrets.UPLOAD_PORT }} + source: "build/bundles/citymania-client-${{ steps.metadata.outputs.version }}-source.zip" + strip_components: 2 + target: ${{ secrets.UPLOAD_PATH }} + docs: name: Docs needs: source