Skip to content

Commit 7444015

Browse files
fix: publish keys (#1172)
* fix: regenerate implementationDependencies.json * fix: using different environment for publish related actions * fix: syntax error --------- Co-authored-by: Sattvik Chakravarthy <sattvik@supertokens.com>
1 parent f82174d commit 7444015

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/add-dev-tag.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
jobs:
2727
dependency-branches:
2828
name: Dependency Branches
29+
environment: publish
2930
runs-on: ubuntu-latest
3031
outputs:
3132
branches: ${{ steps.result.outputs.branches }}
@@ -40,6 +41,7 @@ jobs:
4041
plugin-interface-version: ${{ github.event.inputs.plugin-interface-version }}
4142
postgresql-plugin-version: ${{ github.event.inputs.postgresql-plugin-version }}
4243
add-dev-tag:
44+
environment: publish
4345
runs-on: ubuntu-latest
4446
needs: dependency-branches
4547
steps:

.github/workflows/dev-tag.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run-for: PR
2222
id: result
2323
new-core-version:
24+
environment: publish
2425
name: New core version
2526
runs-on: ubuntu-latest
2627
needs: [dependency-versions]
@@ -37,6 +38,7 @@ jobs:
3738
run: |
3839
python .github/helpers/register-new-core-version.py
3940
new-plugin-versions:
41+
environment: publish
4042
name: New plugin versions
4143
runs-on: ubuntu-latest
4244
needs: [dependency-versions]
@@ -98,6 +100,7 @@ jobs:
98100
with:
99101
tag: ${{ needs.wait-for-docker.outputs.tag }}
100102
mark-as-passed:
103+
environment: publish
101104
needs: [dependency-versions, unit-tests, stress-tests]
102105
name: Mark as passed
103106
runs-on: ubuntu-latest

.github/workflows/do-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
jobs:
3131
dependency-branches:
3232
name: Dependency Branches
33+
environment: publish
3334
runs-on: ubuntu-latest
3435
outputs:
3536
branches: ${{ steps.result.outputs.branches }}
@@ -45,6 +46,7 @@ jobs:
4546
plugin-interface-version: ${{ github.event.inputs.plugin-interface-version }}
4647
postgresql-plugin-version: ${{ github.event.inputs.postgresql-plugin-version }}
4748
release-docker:
49+
environment: publish
4850
name: Release Docker
4951
runs-on: ubuntu-latest
5052
needs: dependency-branches
@@ -75,6 +77,7 @@ jobs:
7577
bash .github/helpers/release-docker.sh supertokens/supertokens-dev-postgresql:$minor supertokens/supertokens-postgresql:latest
7678
fi
7779
add-release-tag:
80+
environment: publish
7881
runs-on: ubuntu-latest
7982
needs: [dependency-branches, release-docker]
8083
steps:

0 commit comments

Comments
 (0)