File tree 1 file changed +4
-18
lines changed
1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change 5
5
workflows : [CI]
6
6
types : [completed]
7
7
branches : [main]
8
+
8
9
jobs :
9
- deploy :
10
- runs-on : ubuntu-latest
11
- if : ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event != 'schedule' }}
12
- steps :
13
- - uses : actions/checkout@v3
14
- - name : Tag and Push Gem
15
- id : tag-and-push-gem
16
- uses : discourse/publish-rubygems-action@v2
17
- env :
18
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
19
- GIT_EMAIL : ${{secrets.GUSTO_GIT_EMAIL}}
20
- GIT_NAME : ${{secrets.GUSTO_GIT_NAME}}
21
- RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
22
- - name : Create GitHub Release
23
- run : gh release create v${{steps.tag-and-push-gem.outputs.gem_version}} --generate-notes
24
- if : ${{ steps.tag-and-push-gem.outputs.new_version == 'true' }}
25
- env :
26
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10
+ call-workflow-from-shared-config :
11
+ uses : rubyatscale/shared-config/.github/workflows/cd.yml@main
12
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments