|
|
@ -101,24 +101,22 @@ jobs: |
|
|
|
uses: burnett01/rsync-deployments@4.1 |
|
|
|
with: |
|
|
|
switches: -avc |
|
|
|
path: front-dist-${{ github.event.release.tag_name }}.zip |
|
|
|
path: front/front-dist-${{ github.event.release.tag_name }}.zip |
|
|
|
remote_path: / |
|
|
|
remote_host: ${{ secrets.ASSETS_DEPLOY_HOST }} |
|
|
|
remote_user: ${{ secrets.ASSETS_DEPLOY_USER }} |
|
|
|
remote_key: ${{ secrets.ASSETS_DEPLOY_KEY }} |
|
|
|
working-directory: front |
|
|
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
|
|
|
|
|
|
|
- name: Deploy front (master) |
|
|
|
uses: burnett01/rsync-deployments@4.1 |
|
|
|
with: |
|
|
|
switches: -avc |
|
|
|
path: front-dist-master.zip |
|
|
|
path: front/front-dist-master.zip |
|
|
|
remote_path: / |
|
|
|
remote_host: ${{ secrets.ASSETS_DEPLOY_HOST }} |
|
|
|
remote_user: ${{ secrets.ASSETS_DEPLOY_USER }} |
|
|
|
remote_key: ${{ secrets.ASSETS_DEPLOY_KEY }} |
|
|
|
working-directory: front |
|
|
|
if: github.ref == 'refs/heads/master' |
|
|
|
|
|
|
|
backend: |
|
|
|