feat: add deletable and disabled attributes for table td #724 #614
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '.github/workflows/build.yml' | |
- 'src/**' | |
- 'index.html' | |
- 'package.json' | |
- 'vite.config.ts' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i yarn -g | |
- run: yarn | |
- run: yarn run build | |
- run: mv dist canvas-editor | |
- name: Copy folder content recursively to remote | |
uses: appleboy/[email protected] | |
with: | |
source: canvas-editor | |
target: ${{ secrets.PATH }} | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
overwrite: true | |
- name: Executing remote ssh commands | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
script: sed -i 's/<\/body>/${{ secrets.SCRIPT }}<\/body>/g' ${{ secrets.PATH }}/canvas-editor/index.html |