diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index fad6ac969e..0000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Publish to RubyGems - -on: - release: - types: - - created - -permissions: - contents: read - -jobs: - publish: - name: Publish - runs-on: ubuntu-latest - env: - TARGET_URL: https://rubygems.org/gems/faker - - steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.1.2 - - - name: Install dependencies - run: bundle install - - - name: Run tests - run: bundle exec rake test - - - name: Build Gem - run: gem build -o faker.gem faker.gemspec - - - name: Push to RubyGems - env: - GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }} - run: gem push faker.gem