unos-fe: ciを追加 #6

Merged
usbharu merged 2 commits from watchdog-fe into master 2024-03-13 08:12:26 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,6 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
- run: tar cvf dist/unos-fe/unos-fe.tar dist/unos-fe/* - run: cd dist/unos-fe/browser && tar cvf unos-fe.tar *
- run: curl --user usbharu:${{ secrets.DEPLOY_TOKEN }} --upload-file dist/unos-fe/unos-fe.tar https://git.usbharu.dev/api/packages/usbharu/generic/unos-fe/${{ github.sha }}/unos-fe.tar - run: curl --user usbharu:${{ secrets.DEPLOY_TOKEN }} --upload-file dist/unos-fe/unos-fe.tar https://git.usbharu.dev/api/packages/usbharu/generic/unos-fe/${{ github.sha }}/unos-fe.tar
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true