mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-20 04:23:01 +08:00
https://github.com/cskefu/cskefu/issues/830 fix docker job on build
This commit is contained in:
parent
ab1eca2110
commit
dddadafa35
18
.github/workflows/dockerize.yml
vendored
Normal file
18
.github/workflows/dockerize.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Package
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- run: |
|
||||
cd $GITHUB_WORKSPACE && pwd
|
||||
if [ ! -d .git ]; then git init; git config user.email "you@dummy.com"; git config user.name "dummy"; git add --all && git commit -q -m "Only fix mvn goals for github workflow"; fi
|
||||
if [ -f ~/.cskefu.rc ]; then source ~/.cskefu.rc; else echo "Not found ~/.cskefu.rc; find info with https://github.com/cskefu/cskefu/issues/688"; exit 1; fi
|
||||
java -version && mvn -version
|
||||
$GITHUB_WORKSPACE/public/plugins/scripts/install-all.sh
|
||||
cd $GITHUB_WORKSPACE/contact-center && ./admin/build.sh && ./admin/push.sh
|
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
@ -1,15 +1,11 @@
|
||||
name: Package
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
- 'develop'
|
||||
pull_request:
|
||||
branches: [master, develop]
|
||||
types: [opened, synchronize, closed]
|
||||
types: [opened, synchronize, reopened]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [self-hosted, linux, cskefu]
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user