Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Personal Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheJoeCoder
Personal Website
Commits
5095a2b8
Verified
Commit
5095a2b8
authored
1 year ago
by
TheJoeCoder
Browse files
Options
Downloads
Patches
Plain Diff
Start work on python script
parent
51c1634e
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+3
-5
3 additions, 5 deletions
.gitlab-ci.yml
build_site.py
+2
-0
2 additions, 0 deletions
build_site.py
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
templates/index.html
+0
-0
0 additions, 0 deletions
templates/index.html
with
6 additions
and
5 deletions
.gitlab-ci.yml
+
3
−
5
View file @
5095a2b8
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
image
:
busybox
image
:
"
python:3"
pages
:
stage
:
deploy
script
:
-
echo "The site will be deployed to $CI_PAGES_URL"
-
python3 -m pip install -r requirements.txt
-
python3 build_site.py
artifacts
:
paths
:
-
public
...
...
This diff is collapsed.
Click to expand it.
build_site.py
0 → 100644
+
2
−
0
View file @
5095a2b8
import
shutil
shutil
.
copyfile
(
"
templates/index.html
"
,
"
public/index.html
"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
1
−
0
View file @
5095a2b8
Jinja2
~=3.1.4
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public
/index.html
→
templates
/index.html
+
0
−
0
View file @
5095a2b8
File moved
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