mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
update build script
This commit is contained in:
1 parent
87123659aa
commit
67cb68a9c0
1 file changed
+4
-18
@@ -12,25 +12,11 @@ jobs:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '13.x'
|
||||
- run: cd ui && yarn && yarn build:production && cd ..
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: uibuild
|
||||
path: public
|
||||
- run: |
|
||||
yarn
|
||||
yarn build:production
|
||||
yarn build
|
||||
rm -rf node_modules
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: app.js
|
||||
path: .build/app.js
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: builtin.hydro
|
||||
path: .build/builtin.hydro
|
||||
- uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: hydrooj/hydro:alpine
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
dockerfile: Dockerfile
|
||||
name: hydro
|
||||
path: .
|
||||
Reference in new issue
Block a user