Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc853144b8 |
@@ -39,7 +39,8 @@ jobs:
|
|||||||
- name: Set envVar
|
- name: Set envVar
|
||||||
id: set_envar
|
id: set_envar
|
||||||
run: |
|
run: |
|
||||||
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT
|
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
|
||||||
|
echo "now workspace: ${{ github.workspace }}"
|
||||||
|
|
||||||
# 为其他配置文件注入环境变量
|
# 为其他配置文件注入环境变量
|
||||||
- name: Inject envVar
|
- name: Inject envVar
|
||||||
@@ -83,6 +84,7 @@ jobs:
|
|||||||
#发布到 k8s
|
#发布到 k8s
|
||||||
- name: k8s Check and Apply New Deployment
|
- name: k8s Check and Apply New Deployment
|
||||||
uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
|
uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
|
||||||
|
|
||||||
with:
|
with:
|
||||||
config: ${{ secrets.KUBE_CONFIG }}
|
config: ${{ secrets.KUBE_CONFIG }}
|
||||||
command: apply -f ./deployment.yml
|
command: apply -f ./deployment.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user