This commit is contained in:
@@ -39,7 +39,8 @@ jobs:
|
||||
- name: Set envVar
|
||||
id: set_envar
|
||||
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
|
||||
@@ -83,6 +84,7 @@ jobs:
|
||||
#发布到 k8s
|
||||
- name: k8s Check and Apply New Deployment
|
||||
uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
|
||||
|
||||
with:
|
||||
config: ${{ secrets.KUBE_CONFIG }}
|
||||
command: apply -f ./deployment.yml
|
||||
|
||||
Reference in New Issue
Block a user