Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
2d678a98
Commit
2d678a98
authored
Mar 06, 2019
by
brospars
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test deploy pages with pandoc
parent
f82c322c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
17 deletions
+11
-17
.gitlab-ci.yml
.gitlab-ci.yml
+11
-17
No files found.
.gitlab-ci.yml
View file @
2d678a98
image
:
binarin/org-export
pages
:
stages
:
stage
:
deploy
-
build
build
:
stage
:
build
script
:
script
:
-
ls -al /
-
mkdir .public
# - for file in $(find -name "*.org"); do
-
for file in $(find -name "*.md"); do
# emacs --batch --load /emacs/export.el --file $file --eval '(org-html-export-to-html)' && echo "Exported $file" || echo "ERROR $file";
pandoc -s -f markdown_github -t html -o ${file%.*}.html $file && echo "Exported ${file%.*}.html" || echo "ERROR $file";
# done
done
# artifacts:
-
cp -r * .public
# expire_in: 1 day
-
mv .public public
# paths:
artifacts
:
# - module1/ressources/*.html
paths
:
# - module2/ressources/*.html
-
public
# - module3/ressources/*.html
# - module4/ressources/*.html
only
:
only
:
-
ci
-
ci
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment