Skip to content

Commit

Permalink
Try to simplify publication
Browse files Browse the repository at this point in the history
  • Loading branch information
yatil authored Sep 26, 2019
1 parent 89822ec commit ae1ad4e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Ruby

on:
push:
tags:
- '*'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec jekyll build --config "_config.yml,_config_prod.yml" --profile
# - name: Zip Files
# uses: montudor/[email protected]
# args: zip -r build.zip ./_site"
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: _site
asset_name: build
tag: ${{ github.ref }}
overwrite: true

0 comments on commit ae1ad4e

Please sign in to comment.