Skip to content

Commit

Permalink
remove publish related configuration in ci.yml
Browse files Browse the repository at this point in the history
we won't be publishing to GH Packages, so this can go
  • Loading branch information
argvniyx-enroute committed Feb 26, 2024
1 parent 5babe24 commit 69b1bb8
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
name: CI

on:
workflow_dispatch:
inputs:
force_release:
description: 'Force a release to run using the current version'
default: false
required: true
type: boolean
push:
branches:
- master
pull_request:
on: [push, pull_request]

jobs:
build:
Expand Down Expand Up @@ -61,15 +50,3 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: bundle exec rake
publish:
needs: build
if: needs.build.result == 'success' && (github.event_name == 'push' || inputs.force_release)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: Betterment/workflows/gem_release@gem_release-v6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
betterment_gh_packages_pat: ${{ secrets.BETTERMENT_GH_PACKAGES_PAT }}
force: ${{ toJSON(inputs.force_release) }}

0 comments on commit 69b1bb8

Please sign in to comment.