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