message: rsync to server beta updates
diff: @@ -67,7 +67,7 @@ jobs:
  - name: Check Syntax
  run: yarn syntax
  - - name: Deploy to server
  + - name: Rsync to Server (Stage 1)
  uses: easingthemes/ssh-deploy@v2.1.1
  env:
  SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
  @@ -75,6 +75,16 @@ jobs:
  REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
  REMOTE_USER: ${{ secrets.REMOTE_USER }}
  TARGET: beta.destinyitemmanager.com
  + EXCLUDE: "*.html, *.html.br, service-worker.js, service-worker.js.br, version.json, version.json.br"
  +
  + - name: Rsync to Server (Stage 2)
  + uses: easingthemes/ssh-deploy@v2.1.1
  + env:
  + SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
  + SOURCE: "dist/*.html, dist/*.html.br, dist/service-worker.js, dist/service-worker.js.br, dist/version.json, dist/version.json.br"
  + REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
  + REMOTE_USER: ${{ secrets.REMOTE_USER }}
  + TARGET: beta.destinyitemmanager.com
  - name: Purge CloudFlare cache
  run: ./build/purge-cloudflare.sh
  