Skip to content

Commit

Permalink
feat: debug k8a apply
Browse files Browse the repository at this point in the history
  • Loading branch information
unliar committed Jul 12, 2021
1 parent 21f9a81 commit 11f80a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:
sed -i "s#BOT_API#${{ secrets.BOT_API }}#g" ./chart/config.yaml
- name: k3s-apply-deployment
uses: steebchen/kubectl@master
uses: steebchen/kubectl@v2.0.0
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
with:
args: apply -f ./chart/config.yaml
config: ${{ secrets.KUBE_CONFIG_DATA }}
command: apply -f ./chart/config.yaml
- name: wechat-work-bot-success-deploy
if: ${{ success() }}
uses: chf007/action-wechat-work@master
Expand Down
5 changes: 0 additions & 5 deletions src/views/home/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts" setup="">
import { defineProps, onMounted, reactive } from "vue";
import { useHead } from "@vueuse/head";
import M, { useMessage } from "~/components/common/Message/instance";
import { GetArticles } from "~/api/article";
import ContentLayout from "~/components/layouts/Content/index.vue";
import DefaultLayout from "~/components/layouts/Default/index.vue";
Expand Down Expand Up @@ -39,10 +38,6 @@ const getList = (req: API.ARTICLE.GetArticleListRequest) => {
};
onMounted(async () => {
const m = useMessage();
setInterval(() => {
m.success("qaq");
}, 1500);
await getList(props.query ?? {});
});
</script>
Expand Down

0 comments on commit 11f80a7

Please sign in to comment.