Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pandoc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
templates
pandoc
Commits
fd79359c
Verified
Commit
fd79359c
authored
5 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
adds title target
parent
b6b49d5a
No related branches found
No related tags found
No related merge requests found
Pipeline
#459
passed
5 years ago
Stage: check
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
Makefile
+7
-0
7 additions, 0 deletions
Makefile
with
10 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
fd79359c
...
@@ -23,14 +23,15 @@ build:
...
@@ -23,14 +23,15 @@ build:
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
TITLE=$(make title)
-
make
-
make
-
>-
-
>-
curl -f -v
curl -f -v
-u "$NEXTCLOUD_SHARE:$NEXTCLOUD_PW"
-u "$NEXTCLOUD_SHARE:$NEXTCLOUD_PW"
-T
title
.pdf
-T
"$TITLE
.pdf
"
-H 'X-Requested-With: XMLHttpRequest'
-H 'X-Requested-With: XMLHttpRequest'
-H 'X-Method-Override: PUT'
-H 'X-Method-Override: PUT'
https://portal.idiv.de/nextcloud/public.php/webdav/
title
.pdf
"
https://portal.idiv.de/nextcloud/public.php/webdav/
$TITLE
.pdf
"
environment
:
environment
:
name
:
production
name
:
production
only
:
only
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
7
−
0
View file @
fd79359c
# do not use spaces here, instead use either
# - dashes, as in my-awesome-title, or
# - underscores, as in my_awesome_title
TITLE
=
title
TITLE
=
title
PANDOC
=
pandoc
PANDOC
=
pandoc
...
@@ -31,6 +34,9 @@ check: spellcheck
...
@@ -31,6 +34,9 @@ check: spellcheck
spellcheck
:
spellcheck
:
mdspell
--en-us
-anrx
$(
SOURCES_MD
)
mdspell
--en-us
-anrx
$(
SOURCES_MD
)
title
:
@
echo
$(
TITLE
)
clean
:
clean
:
@
for
dir
in
$(
SUBDIRS
);
do
\
@
for
dir
in
$(
SUBDIRS
);
do
\
$(
MAKE
)
-C
$$
dir
$@
;
\
$(
MAKE
)
-C
$$
dir
$@
;
\
...
@@ -43,4 +49,5 @@ clean:
...
@@ -43,4 +49,5 @@ clean:
clean
\
clean
\
default
\
default
\
subdirs
\
subdirs
\
title
\
$(SUBDIRS)
\
$(SUBDIRS)
\
This diff is collapsed.
Click to expand it.
ck85nori
@krausec
mentioned in issue
#5 (closed)
·
5 years ago
mentioned in issue
#5 (closed)
mentioned in issue #5
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment