Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
Tenjin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
Tenjin
Commits
6bd03789
Commit
6bd03789
authored
Oct 21, 2024
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve ci/cd deploy only when release instead of push to main
parent
2437e3a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
CD.yml
.github/workflows/CD.yml
+4
-6
CI.yml
.github/workflows/CI.yml
+7
-1
No files found.
.github/workflows/CD.yml
View file @
6bd03789
name
:
CD
on
:
push
:
branches
:
[
"
main"
]
workflow_run
:
workflows
:
[
"
CI"
]
types
:
-
completed
release
:
types
:
[
published
]
env
:
CARGO_TERM_COLOR
:
always
jobs
:
release
:
...
...
.github/workflows/CI.yml
View file @
6bd03789
name
:
CI
on
:
[
push
,
pull_request
]
on
:
push
:
branches
:
[
"
*"
]
pull_request
:
branches
:
[
"
*"
]
env
:
CARGO_TERM_COLOR
:
always
jobs
:
linux
:
...
...
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