Add github workflow to setup

This commit is contained in:
KingOfDog 2022-09-14 07:53:03 +00:00
parent f332a0a119
commit 19bd7e1a5b

View File

@ -16,14 +16,14 @@ if [ $1 == "markdown" ]
then then
#cp templates/markdown.gitlab-ci.yml ./.gitlab-ci.yml #cp templates/markdown.gitlab-ci.yml ./.gitlab-ci.yml
cp templates/markdown/.drone.yml ./.drone.yml cp templates/markdown/.drone.yml ./.drone.yml
#cp templates/markdown/github-workflow.yml ./.github/workflows/latex.yml cp templates/markdown/github-workflow.yml ./.github/workflows/latex.yml
cp templates/markdown/azure-pipelines.yml ./azure-pipelines.yml #cp templates/markdown/azure-pipelines.yml ./azure-pipelines.yml
cp templates/markdown/tasks.json ./.vscode/tasks.json cp templates/markdown/tasks.json ./.vscode/tasks.json
cp templates/markdown/main.tex ./main.tex cp templates/markdown/main.tex ./main.tex
elif [ $1 == "latex" ] elif [ $1 == "latex" ]
then then
#cp templates/latex.gitlab-ci.yml ./.gitlab-ci.yml #cp templates/latex.gitlab-ci.yml ./.gitlab-ci.yml
cp templates/latex.azure-pipelines.yml ./azure-pipelines.yml #cp templates/latex.azure-pipelines.yml ./azure-pipelines.yml
cp templates/latex.tasks.json ./.vscode/tasks.json cp templates/latex.tasks.json ./.vscode/tasks.json
else else
write_help write_help