File tree Expand file tree Collapse file tree 2 files changed +8
-39
lines changed
Expand file tree Collapse file tree 2 files changed +8
-39
lines changed Original file line number Diff line number Diff line change 77 branches : [main]
88
99jobs :
10- deploy :
11- runs-on : ubuntu-latest
12- if : ${{ github.event.workflow_run.conclusion == 'success' }}
13- steps :
14- - uses : actions/checkout@v4
15- - name : Check Git Status
16- run : git status
17- - name : Tag and Push Gem
18- id : tag-and-push-gem
19- uses : discourse/publish-rubygems-action@v3
20- env :
21- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
22- GIT_EMAIL : ${{secrets.GUSTO_GIT_EMAIL}}
23- GIT_NAME : ${{secrets.GUSTO_GIT_NAME}}
24- RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
25- RELEASE_COMMAND : git diff && rake release --backtrace
26- - name : Create GitHub Release
27- run : gh release create v${{steps.tag-and-push-gem.outputs.gem_version}} --generate-notes
28- if : ${{ steps.tag-and-push-gem.outputs.new_version == 'true' }}
29- env :
30- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31- notify_on_failure :
32- runs-on : ubuntu-latest
33- needs : [deploy]
34- if : ${{ failure() && github.ref == 'refs/heads/main' }}
35- env :
36- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
37- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
38- steps :
39- -
uses :
slackapi/[email protected] 40- with :
41- payload : |
42- {
43- "text": "${{ github.repository }}/${{ github.ref }}: FAILED\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
44- }
10+ call-workflow-from-shared-config :
11+ uses : rubyatscale/shared-config/.github/workflows/cd.yml@main
12+ secrets : inherit
13+
Original file line number Diff line number Diff line change 7676 method_source (1.0.0 )
7777 minitest (5.19.0 )
7878 netrc (0.11.0 )
79- nokogiri (1.16.3 -arm64-darwin )
79+ nokogiri (1.18.1 -arm64-darwin )
8080 racc (~> 1.4 )
81- nokogiri (1.16.3 -x86_64-darwin )
81+ nokogiri (1.18.1 -x86_64-darwin )
8282 racc (~> 1.4 )
83- nokogiri (1.16.3 -x86_64-linux )
83+ nokogiri (1.18.1 -x86_64-linux-gnu )
8484 racc (~> 1.4 )
8585 packs-specification (0.0.10 )
8686 sorbet-runtime
9999 pry-byebug (3.10.1 )
100100 byebug (~> 11.0 )
101101 pry (>= 0.13 , < 0.15 )
102- racc (1.7.3 )
102+ racc (1.8.1 )
103103 rails-dom-testing (2.2.0 )
104104 activesupport (>= 5.0.0 )
105105 minitest
You can’t perform that action at this time.
0 commit comments