Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0389942e4f | ||
|
|
bc853144b8 |
@@ -39,7 +39,9 @@ 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 }}" &&
|
||||
pwd
|
||||
|
||||
# 为其他配置文件注入环境变量
|
||||
- name: Inject envVar
|
||||
@@ -83,6 +85,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