ci: 调整ci

This commit is contained in:
禾几海
2020-10-08 11:32:46 +08:00
parent 1d994d16b1
commit dfd609ded3

View File

@@ -17,6 +17,7 @@ jobs:
node-version: '12.x' node-version: '12.x'
- run: npm install - run: npm install
- run: npm run lint && npm run build:prod - run: npm run lint && npm run build:prod
- run: cd dist/index/ && tar -cf index.tar ./* && mv index.tar ../../
- name: Upload a Build Artifact - name: Upload a Build Artifact
uses: actions/upload-artifact@v2.1.4 uses: actions/upload-artifact@v2.1.4
@@ -24,9 +25,6 @@ jobs:
name: dist name: dist
path: ./dist/index/* path: ./dist/index/*
- name: Package products
- run: cd dist/index/ && tar -cf index.tar ./* && cp index.tar ../../
- name: SCP - name: SCP
uses: appleboy/scp-action@master uses: appleboy/scp-action@master