Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
32fa11a9
Commit
32fa11a9
authored
Aug 18, 2019
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy
parent
387474a0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
28 deletions
+21
-28
.travis.yml
.travis.yml
+12
-19
package.json
package.json
+1
-1
src/app/layout/layout.component.html
src/app/layout/layout.component.html
+6
-6
src/index.html
src/index.html
+2
-2
No files found.
.travis.yml
View file @
32fa11a9
language
:
node_js
node_js
:
node
env
:
secure
:
QwnXsCYkcEftTWJShEVjVWuSkGu87sv/3yHx+JRPkdoqUHDlmWrS3Rl0LMBoJi9dJ/G7mIslKs89bzP0c8iPRiccwbc0tz/6AWwPYGYj7cHZcbH7wA0WEUpmOEO98I5x0Li6n+NK4DPTJTvGJjfWx4AQ4iTtsz/hTHDGYtMQuoY=
cache
:
directories
:
-
'
$HOME/.npm'
-
"
$HOME/.npm"
script
:
npm run build
deploy
:
provider
:
s3
access_key_id
:
ztDf0fCxr0eCgSIi
secret_access_key
:
secure
:
QzoeJUI0ojAl6Te3Fd/RzF8bYqzON00x25K7bnHDSFkFjNXy8OSdoZqlFm5erbxA3ZTgvuheCeVXPYsED7qw7/IcycQFTsYhYcc8kQkqNEgumPEURt0U4AY/o4RUjIRIZeJhcF15Fz86j8JYNRP/KnSKVoBX8IMWhbPzPjsnymo=
bucket
:
mycard
skip_cleanup
:
true
local-dir
:
dist
upload-dir
:
store
endpoint
:
https://minio.mycard.moe:9000
notifications
:
webhooks
:
urls
:
https://api.mycard.moe/notify/travis
on_cancel
:
never
script
:
npm run build
before_deploy
:
-
curl --location --retry 5 --output ossutil "https://ossutil-version-update.oss-cn-hangzhou.aliyuncs.com/$(curl --location --retry 5 https://ossutil-version-update.oss-cn-hangzhou.aliyuncs.com/ossutilversion)/ossutil64"
-
chmod +x ossutil
-
./ossutil config --endpoint oss-cn-hangzhou.aliyuncs.com --access-key-id $ALIYUN_ID
--access-key-secret $ALIYUN_SECRET
deploy
:
provider
:
script
script
:
./ossutil cp -rf dist oss://mycard/store
skip_cleanup
:
true
on
:
branch
:
master
package.json
View file @
32fa11a9
...
...
@@ -4,7 +4,7 @@
"scripts"
:
{
"ng"
:
"ng"
,
"start"
:
"ng serve"
,
"build"
:
"ng build --prod --
base-href https://cdn01.moecube.com/store/mycard-store/ --deploy-url https://cdn01.moecube.com/store/mycard-
store/"
,
"build"
:
"ng build --prod --
source-map --deploy-url https://cdn01.moecube.com/
store/"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"e2e"
:
"ng e2e"
...
...
src/app/layout/layout.component.html
View file @
32fa11a9
...
...
@@ -3,12 +3,12 @@
<nz-header
id=
"nav-header"
class=
"nav"
>
<img
class=
"logo"
src=
"https://cdn01.moecube.com/store/zh-CN/assets/logo.png"
/>
<ul
id=
"nav-ul"
nz-menu
[nzTheme]=
"'dark'"
[nzMode]=
"'horizontal'"
style=
"line-height: 64px;"
>
<
a
href=
"https://mycard.moe/"
>
首页
</a
>
<
a
href=
"https://ygobbs.com/"
>
社区
</a
>
<
a
href=
"https://mycard.moe/ygopro/arena/index.html#/"
>
决斗数据库
</a
>
<
a
href=
"https://event.ygobbs.com/"
>
赛事系统
</a
>
<
a
href=
"https://accounts.moecube.com/profiles"
>
用户中心
</a
>
<
a
href=
"https://accounts.moecube.com/signup"
>
注册账号
</a
>
<
li
nz-menu-item
><a
href=
"https://mycard.moe/"
>
首页
</a></li
>
<
li
nz-menu-item
><a
href=
"https://ygobbs.com/"
>
社区
</a></li
>
<
li
nz-menu-item
><a
href=
"https://mycard.moe/ygopro/arena/index.html#/"
>
决斗数据库
</a></li
>
<
li
nz-menu-item
><a
href=
"https://event.ygobbs.com/"
>
赛事系统
</a></li
>
<
li
nz-menu-item
><a
href=
"https://accounts.moecube.com/profiles"
>
用户中心
</a></li
>
<
li
nz-menu-item
><a
href=
"https://accounts.moecube.com/signup"
>
注册账号
</a></li
>
</ul>
</nz-header>
</nz-affix>
...
...
src/index.html
View file @
32fa11a9
<!doctype html>
<html
lang=
"en"
>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
My
cardStore
</title>
<title>
My
Card - 萌卡
</title>
<base
href=
"/"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
...
...
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