Skip to content

Commit

Permalink
Create initial publish github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiinapennala committed Jan 22, 2025
1 parent c2c0eb3 commit 97ccc59
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ concurrency:
cancel-in-progress: true

on:
workflow_call:
push:
branches:
- kiskolabs/add_rails_6.1_and_ruby_3_4
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to RubyGems

on:
workflow_dispatch:
push:
tags:
- '*'
branches:
- kiskolabs/gha-publish-to-rubygems

jobs:
test:
uses: ./.github/workflows/ci.yml
push:
runs-on: ubuntu-latest
needs: [test]
permissions:
contents: write
id-token: write
steps:
- name: Test
run: |
echo "Testing successful case"
# - uses: actions/checkout@v4
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
# ruby-version: 3.0

# # Release
# - uses: rubygems/release-gem@v1

0 comments on commit 97ccc59

Please sign in to comment.