From a23aafee07d6cde11a4e306bfc359f4cb302fd5e Mon Sep 17 00:00:00 2001 From: go-bai <599500688@qq.com> Date: Sat, 9 Sep 2023 15:45:28 +0800 Subject: [PATCH] auto push --- README.md | 17 +++++++++++++++++ archetypes/default.md | 1 + content/post/linux/jq-command.md | 10 ++++++++++ push.sh | 2 ++ 4 files changed, 30 insertions(+) create mode 100644 README.md create mode 100644 content/post/linux/jq-command.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..abcbb70 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +### install hugo extended + +```bash +go install golang.org/dl/go1.20@latest +``` + +### add a new page + +```bash +hugo new content post/linux/jq-command.md +``` + +### push + +```bash +bash push.sh +``` \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd..810399e 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -2,5 +2,6 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true +tags: [] --- diff --git a/content/post/linux/jq-command.md b/content/post/linux/jq-command.md new file mode 100644 index 0000000..fdbffe9 --- /dev/null +++ b/content/post/linux/jq-command.md @@ -0,0 +1,10 @@ +--- +title: "jq 命令" +date: 2023-09-09T15:04:05+08:00 +draft: true +tags: ['linux', 'jq'] +--- + +> jq命令对于`api boy`还是挺常用的,在此记录一下一些常用的操作。 + + diff --git a/push.sh b/push.sh index db5dc6a..0ffdb86 100644 --- a/push.sh +++ b/push.sh @@ -1,3 +1,5 @@ +#!/bin/bash + git submodule update --recursive --remote git add . git commit -m "auto push"