Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Mobile
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
GaiaXalter
Mycard Mobile
Commits
cbd29a31
Commit
cbd29a31
authored
Jul 15, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
parent
553197b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
.gitlab-ci.yml
.gitlab-ci.yml
+29
-0
package.json
package.json
+2
-2
No files found.
.gitlab-ci.yml
0 → 100644
View file @
cbd29a31
stages
:
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
build
:
stage
:
build
dependencies
:
[]
tags
:
-
linux
script
:
-
npm ci
-
npm run build
artifacts
:
paths
:
-
dist/
upload_to_minio
:
stage
:
deploy
dependencies
:
-
build
tags
:
-
linux
script
:
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://mycard/mobile
only
:
-
master
package.json
View file @
cbd29a31
...
...
@@ -5,8 +5,8 @@
"scripts"
:
{
"ng"
:
"ng"
,
"start"
:
"ng serve --aot --host 0.0.0.0"
,
"build"
:
"ng build --i18n-locale zh-CN --prod --source-map --base-href /mobile/ --deploy-url https://cdn0
1.moecube.com
/mobile/ && npm run fuck"
,
"build:dev"
:
"ng build --i18n-locale zh-CN --prod --source-map --base-href /mobile2/ --deploy-url https://cdn0
1.moecube.com
/mobile2/ && npm run fuck"
,
"build"
:
"ng build --i18n-locale zh-CN --prod --source-map --base-href /mobile/ --deploy-url https://cdn0
2.moecube.com:444
/mobile/ && npm run fuck"
,
"build:dev"
:
"ng build --i18n-locale zh-CN --prod --source-map --base-href /mobile2/ --deploy-url https://cdn0
2.moecube.com:444
/mobile2/ && npm run fuck"
,
"fuck"
:
"patch -i service-worker.patch dist/ngsw-worker.js"
,
"postinstall"
:
"patch -i webpack.patch -p0 -t"
,
"lint"
:
"ng lint"
...
...
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