File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 )
4040
4141 deploy :
42- if : github.repository == 'athasdev/athas' && github.ref == 'refs/heads/master' && github.event_name == 'workflow_dispatch'
42+ if : github.repository == 'athasdev/athas' && github.ref == 'refs/heads/master' && ( github.event_name == 'push' || github.event_name == ' workflow_dispatch')
4343 needs : validate
4444 runs-on : ubuntu-latest
4545 steps :
5353 run : bun run extensions:prepare
5454
5555 - name : Deploy extensions CDN
56- env :
57- EXTENSIONS_CDN_ROOT : ${{ secrets.EXTENSIONS_CDN_ROOT }}
58- run : bun run extensions:deploy
56+ uses : burnett01/rsync-deployments@7.0.2
57+ with :
58+ switches : -avz
59+ path : extensions/generated/cdn/
60+ remote_path : ${{ secrets.EXTENSIONS_CDN_ROOT }}/
61+ remote_host : ${{ secrets.VPS_HOST }}
62+ remote_user : ${{ secrets.VPS_USER }}
63+ remote_key : ${{ secrets.VPS_SSH_KEY }}
64+ remote_port : ${{ secrets.VPS_PORT || 22 }}
65+
66+ - name : Verify installable packages on CDN
67+ run : bun run extensions:verify-cdn
You can’t perform that action at this time.
0 commit comments