Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
p79813206 | 8ff2ad0d29 | |
p79813206 | 02a965bfe4 | |
p79813206 | b58384b70e | |
p79813206 | af9c8c89a1 | |
p79813206 | 99f4e077f4 | |
p83591604 | 741a01db3a | |
xiaoxiaoqiong | 90873a55d1 |
|
@ -0,0 +1,29 @@
|
|||
# action name
|
||||
name: 生产发布
|
||||
# 什么时候触发这个workflow
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
job1:
|
||||
# 运行环境
|
||||
runs-on: 'ubuntu-latest'
|
||||
steps:
|
||||
- name: 代码拉取
|
||||
uses: actions/checkout@v3
|
||||
- name: 安装java环境
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'jdkfile'
|
||||
java-version: '11.0.0'
|
||||
architecture: 'x64'
|
||||
mvn-toolchain-vendor: 'Oracle'
|
||||
- name: 执行shell命令
|
||||
run: 'service nginx restart'
|
||||
- name: 执行shell命令
|
||||
run: 'echo env'
|
||||
- name: scp
|
||||
uses: appleboy/scp
|
||||
with:
|
||||
host: '192.168.1.114'
|
|
@ -0,0 +1,26 @@
|
|||
# action name
|
||||
name: 生产发布
|
||||
# 什么时候触发这个workflow
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
job1:
|
||||
# 运行环境
|
||||
runs-on: 'ubuntu-latest'
|
||||
steps:
|
||||
- name: 代码拉取
|
||||
uses: actions/checkout@v3
|
||||
- name: 安装java环境
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'jdkfile'
|
||||
java-version: '11.0.0'
|
||||
architecture: 'x64'
|
||||
mvn-toolchain-vendor: 'Oracle'
|
||||
- name: 执行shell命令
|
||||
run: 'service nginx restart'
|
||||
- name: 执行shell命令
|
||||
run: 'echo env'
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
# 项目简介
|
||||
|
||||
test
|
||||
1. 此商城项目,使用spring cloud 全家桶进行开发
|
||||
|
||||
2. 事务处理使用两种:强一致性(TCC),最终一致性(EDA)
|
||||
|
|
Loading…
Reference in New Issue