Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Nene Barry
courses
Commits
20543f3c
Verified
Commit
20543f3c
authored
5 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
link to img folder
parent
81584501
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/deploy.sh
+23
-0
23 additions, 0 deletions
.ci/deploy.sh
with
23 additions
and
0 deletions
.ci/deploy.sh
+
23
−
0
View file @
20543f3c
...
@@ -31,6 +31,11 @@ do
...
@@ -31,6 +31,11 @@ do
mkdir
$rootDir
/public/
$BLADE
/latest
mkdir
$rootDir
/public/
$BLADE
/latest
mkdir
$rootDir
/public/
$BLADE
/stable
mkdir
$rootDir
/public/
$BLADE
/stable
# create img folders
mkdir
$rootDir
/public/img/unstable
mkdir
$rootDir
/public/img/latest
mkdir
$rootDir
/public/img/stable
# change to the blade directory to be built
# change to the blade directory to be built
cd
$BLADE
cd
$BLADE
...
@@ -51,6 +56,12 @@ do
...
@@ -51,6 +56,12 @@ do
grunt dist
grunt dist
mv
public/
*
$rootDir
/public/
$BLADE
/unstable/.
mv
public/
*
$rootDir
/public/
$BLADE
/unstable/.
# link to the img directory
mv
$rootDir
/public/
$BLADE
/unstable/slides/img/
*
$rootDir
/public/img/unstable/.
rm
-rf
$rootDir
/public/
$BLADE
/unstable/slides/img
ln
-s
$rootDir
/public/img/unstable
$rootDir
/public/
$BLADE
/unstable/slides/img
echo
" > unstable built for file set
${
BLADE
}
"
echo
" > unstable built for file set
${
BLADE
}
"
# build the master version into stable
# build the master version into stable
...
@@ -61,6 +72,12 @@ do
...
@@ -61,6 +72,12 @@ do
git submodule update
--init
git submodule update
--init
grunt dist
grunt dist
mv
public/
*
$rootDir
/public/
$BLADE
/stable/.
mv
public/
*
$rootDir
/public/
$BLADE
/stable/.
# link to the img directory
mv
$rootDir
/public/
$BLADE
/stable/slides/img/
*
$rootDir
/public/img/stable/.
rm
-rf
$rootDir
/public/
$BLADE
/stable/slides/img
ln
-s
$rootDir
/public/img/stable
$rootDir
/public/
$BLADE
/stable/slides/img
echo
" > stable built for file set
${
BLADE
}
"
echo
" > stable built for file set
${
BLADE
}
"
# build the develop version into latest
# build the develop version into latest
...
@@ -71,6 +88,12 @@ do
...
@@ -71,6 +88,12 @@ do
git submodule update
--init
git submodule update
--init
grunt dist
grunt dist
mv
public/
*
$rootDir
/public/
$BLADE
/latest/.
mv
public/
*
$rootDir
/public/
$BLADE
/latest/.
# link to the img directory
mv
$rootDir
/public/
$BLADE
/latest/slides/img/
*
$rootDir
/public/img/latest/.
rm
-rf
$rootDir
/public/
$BLADE
/latest/slides/img
ln
-s
$rootDir
/public/img/latest
$rootDir
/public/
$BLADE
/latest/slides/img
echo
" > latest built for file set
${
BLADE
}
"
echo
" > latest built for file set
${
BLADE
}
"
# auto redirect file to the stable version
# auto redirect file to the stable version
...
...
This diff is collapsed.
Click to expand it.
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