name: Deploy on: push: tags: - '*' runs-on: ubuntu-latest:host jobs: deploy: needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: ๐Ÿ”ง Setup node uses: https://github.com/actions/setup-node@v3 - name: ๐Ÿงฑ Install node packages run: npm ci - name: โœ… svelte-check run: npm run check - name: ๐Ÿ”จ Build project run: npm run build - name: ๐Ÿงน Clean Deploy Area run: rm -rf /www/svelte/build - name: ๐Ÿ“ฆ Deploy run: mv build /www/svelte/