File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 1- # Publishes changes from develop to master.
2- #
3- # * Triggers the CD workflow to publish the package if needed.
4- # * Documentation will be published on the official site.
1+ # Fast-forwards master to develop and triggers the CD workflow to publish the package.
52name : Publish
63
74on : workflow_dispatch
85
96jobs :
107 build :
8+ environment : publish
119 runs-on : ubuntu-24.04
1210
1311 permissions :
14- id-token : write # Required by Akeyless
15- contents : read
16- packages : read
12+ id-token : write # Required by Akeyless
13+ contents : read
14+ packages : read
1715
1816 steps :
17+ - uses : actions/setup-node@v6
18+ with :
19+ node-version : 24
20+
1921 - name : Import Secrets
2022 id : import-secrets
2123 uses : LanceMcCarthy/akeyless-action@v5
3133 fetch-depth : 0 # Fetch all branches
3234 token : ${{ steps.import-secrets.outputs.GH_TOKEN }}
3335
34- - uses : actions/setup-node@v6
35- with :
36- node-version : 24
37-
3836 - name : Fast-forward master to develop
3937 run : |
40- npm install --no-save @progress/kendo-common-tasks
41- ./node_modules/.bin/publish-develop-to- master
38+ git merge --ff-only origin/develop
39+ git push origin master
You can’t perform that action at this time.
0 commit comments