From b9f2a0ccf6b39a95bb2ad248543058f6d58bf830 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Wed, 4 Nov 2020 06:33:50 +0100 Subject: [PATCH] create deploy action --- .github/workflows/deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..7b908ed1 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy Ruby Gem + +on: + push: + branches: + - "master" +jobs: + build: + name: Build + Publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby 2.6 + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6.x + + - name: Build and test + run: | + gem install bundler + bundle install + bundle exec rspec spec