Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Karzok
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zola
Karzok
Commits
23864ac0
Unverified
Commit
23864ac0
authored
3 years ago
by
kogeletey
Browse files
Options
Downloads
Patches
Plain Diff
.build.ext: chage deploy to s3 bucket, sorry srht pages
parent
ea65b5fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.build.toml
+5
-11
5 additions, 11 deletions
.build.toml
.build.yml
+7
-7
7 additions, 7 deletions
.build.yml
with
12 additions
and
18 deletions
.build.toml
+
5
−
11
View file @
23864ac0
image
=
"alpine/edge"
packages
=
[
"npm"
,
"zola"
,
"rsync"
]
packages
=
[
"npm"
,
"zola"
,
"rsync"
,
"aws-cli"
,
"py-pip"
]
sources
=
[
"https://git.sr.ht/~kogeletey/karzok"
]
secrets
=
[
"33b937c0-5b0d-4b30-a102-732c1490e2cb"
]
oauth
=
"pages.sr.ht/PAGES:RW"
secrets
=
[
"33b937c0-5b0d-4b30-a102-732c1490e2cb"
,
"d7f382ed-22db-46c4-af64-d8068bd0cf36"
,
"193f0269-687e-4076-a774-f547e5cb4272"
]
[environment]
github_mirror
=
"git@github.com:kogeletey/karzok"
website
=
"fmatch.org"
[[tasks]]
mirror
=
"""
...
...
@@ -18,15 +17,10 @@ cd karzok
npm run gen
"""
[[tasks]]
tar
=
"""
cd karzok
tar -C public -cvz . > ../karzok.tar.gz
"""
[[tasks]]
deploy
=
"""
acurl -f https://pages.sr.ht/publish/$website -Fcontent=@karzok.tar.gz
pip install awscli-plugin-endpoint
aws s3 cp --recursive karzok/public s3://fmatch.org
"""
This diff is collapsed.
Click to expand it.
.build.yml
+
7
−
7
View file @
23864ac0
...
...
@@ -3,22 +3,22 @@ packages:
-
npm
-
zola
-
rsync
-
aws-cli
-
py-pip
sources
:
-
https://git.sr.ht/~kogeletey/karzok
secrets
:
-
33b937c0-5b0d-4b30-a102-732c1490e2cb
oauth
:
pages.sr.ht/PAGES:RW
-
d7f382ed-22db-46c4-af64-d8068bd0cf36
-
193f0269-687e-4076-a774-f547e5cb4272
environment
:
github_mirror
:
git@github.com:kogeletey/karzok
website
:
fmatch.org
tasks
:
-
mirror
:
|
ssh-keyscan github.com > "$HOME"/.ssh/known_hosts && cd karzok && git push --mirror "$github_mirror" || echo "failed mirroring"
-
generate
:
|
cd karzok
npm run gen
-
tar
:
|
cd karzok
tar -C public -cvz . > ../karzok.tar.gz
npm gen
-
deploy
:
|
acurl -f https://pages.sr.ht/publish/$website -Fcontent=@karzok.tar.gz
pip install awscli-plugin-endpoint
aws s3 cp --recursive karzok/public s3://fmatch.org
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