Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 338d0c8

Browse files
Merge pull request #335 from IvanJosipovic/dev
CI/CD Update
2 parents 80dc70e + 42d8830 commit 338d0c8

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"dependencyDashboardTitle": "Renovate Dashboard",
66
"commitMessageSuffix": "",
77
"commitBody": "",
8+
"semanticCommits": true,
89
"suppressNotifications": ["prIgnoreNotification"],
910
"rebaseWhen": "conflicted",
1011
"extends": [

.github/workflows/cicd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
branches:
44
- '*'
55
- '!master'
6+
- '!alpha'
67
- '!beta'
78

89
name: CI/CD

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- master
5+
- alpha
56
- beta
67

78
name: Create Release
@@ -40,7 +41,7 @@ jobs:
4041
shell: pwsh
4142

4243
- name: Deploy to Staging
43-
if: github.ref == 'refs/heads/beta'
44+
if: github.ref != 'refs/heads/master'
4445
id: netlify2
4546
uses: netlify/actions/cli@master
4647
with:
@@ -50,7 +51,7 @@ jobs:
5051
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5152

5253
- name: Set Test Address
53-
if: github.ref == 'refs/heads/beta'
54+
if: github.ref != 'refs/heads/master'
5455
run: |
5556
Set-Content -Path "src/BlazorTable.Tests/BrowserTestsAddress.config" -Value "${{ steps.netlify2.outputs.NETLIFY_URL }}";
5657
shell: pwsh

.releaserc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"branches": ["master", "beta", "alpha"],
23
"plugins": [
34
"@semantic-release/commit-analyzer",
45
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)