Skip to content

Commit 3799b19

Browse files
authored
chore: Only use snap-production env for releases (#97)
* Only use snap-production env for releases * Remove using snap-production github environment
1 parent 738fb9e commit 3799b19

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/build-lint-test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
prepare:
88
name: Prepare
99
runs-on: ubuntu-latest
10-
environment: snap-production
1110
env:
1211
SNAP_ENV: ${{ vars.SNAP_ENV }}
1312
PRICE_API_BASE_URL: ${{ vars.PRICE_API_BASE_URL }}
@@ -33,7 +32,6 @@ jobs:
3332
validate-changelog:
3433
name: Validate changelog
3534
runs-on: ubuntu-latest
36-
environment: snap-production
3735
env:
3836
SNAP_ENV: ${{ vars.SNAP_ENV }}
3937
PRICE_API_BASE_URL: ${{ vars.PRICE_API_BASE_URL }}
@@ -61,7 +59,6 @@ jobs:
6159
build:
6260
name: Build
6361
runs-on: ubuntu-latest
64-
environment: snap-production
6562
env:
6663
SNAP_ENV: ${{ vars.SNAP_ENV }}
6764
PRICE_API_BASE_URL: ${{ vars.PRICE_API_BASE_URL }}
@@ -99,7 +96,6 @@ jobs:
9996
lint:
10097
name: Lint
10198
runs-on: ubuntu-latest
102-
environment: snap-production
10399
env:
104100
SNAP_ENV: ${{ vars.SNAP_ENV }}
105101
PRICE_API_BASE_URL: ${{ vars.PRICE_API_BASE_URL }}
@@ -126,7 +122,6 @@ jobs:
126122
test:
127123
name: Test
128124
runs-on: ubuntu-latest
129-
environment: snap-production
130125
env:
131126
SNAP_ENV: ${{ vars.SNAP_ENV }}
132127
PRICE_API_BASE_URL: ${{ vars.PRICE_API_BASE_URL }}

.github/workflows/publish-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
jobs:
1212
publish-release:
1313
name: Publish GitHub Release
14-
environment: snap-production
1514
runs-on: ubuntu-latest
1615
permissions:
1716
contents: write
@@ -41,7 +40,6 @@ jobs:
4140
4241
publish-npm-dry-run:
4342
name: Dry run publish to NPM
44-
environment: snap-production
4543
runs-on: ubuntu-latest
4644
needs: publish-release
4745
env:

0 commit comments

Comments
 (0)