squeaky otter 6 months ago
parent
commit
007ab4f7d1
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 6
      .github/workflows/build-and-test.yml

6
.github/workflows/build-and-test.yml

@ -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:

Loading…
Cancel
Save