Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
297e2cff
Commit
297e2cff
authored
Jun 12, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
parent
11343677
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
.gitlab-ci.yml
.gitlab-ci.yml
+21
-0
No files found.
.gitlab-ci.yml
View file @
297e2cff
...
...
@@ -3,6 +3,7 @@ variables:
stages
:
-
build
-
deploy
windows
:
stage
:
build
...
...
@@ -14,6 +15,9 @@ windows:
-
npm ci
-
npm run build
-
dir dist
artifacts
:
paths
:
-
dist/ci-*
linux
:
image
:
node:latest
stage
:
build
...
...
@@ -23,6 +27,9 @@ linux:
-
npm ci
-
npm run build
-
ls dist
artifacts
:
paths
:
-
dist/ci-*
macOS
:
stage
:
build
tags
:
...
...
@@ -32,3 +39,17 @@ macOS:
-
npm ci
-
npm run build
-
ls dist
artifacts
:
paths
:
-
dist/ci-*
upload_to_minio
:
stage
:
deploy
tags
:
-
linux
image
:
python
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/mycard-ci-test
only
:
-
tags
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