Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
kwant
website
Merge requests
!3
add htaccess and modify deploy command
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add htaccess and modify deploy command
htaccess
into
master
Overview
5
Commits
2
Pipelines
0
Changes
2
Merged
Christoph Groth
requested to merge
htaccess
into
master
9 years ago
Overview
5
Commits
2
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
21b66602
Prev
Next
Show latest version
2 files
+
39
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
21b66602
add htaccess and modify deploy command
· 21b66602
Christoph Groth
authored
9 years ago
conf.py
+
6
−
5
Options
@@ -407,11 +407,12 @@ REDIRECTIONS = []
# to `nikola deploy`. If no arguments are specified, a preset
# named `default` will be executed. You can use as many presets
# in a `nikola deploy` command as you like.
# DEPLOY_COMMANDS = {
# 'default': [
# "rsync -rav --delete output/ joe@my.site:/srv/www/site",
# ]
# }
DEPLOY_COMMANDS
=
{
'
default
'
:
[
"
rsync -rav --delete --filter
'
P /doc
'
output/ <USER@TARGET/DIR>
"
,
"
rsync -av htaccess-apache <USER@TARGET/DIR>/.htaccess
"
,
]
}
# For user.github.io OR organization.github.io pages, the DEPLOY branch
# MUST be 'master', and 'gh-pages' for other repositories.
Loading