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

Commit 7691a8e

Browse files
committed
chore: hardcoded master/alpha/beta branches
1 parent e1541af commit 7691a8e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.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)