Skip to content

Commit

Permalink
Create ruby.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n authored Oct 15, 2021
1 parent 0f28473 commit 3b3cd50
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to Firebase Hosting

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: build jekyll
run: |
rm -f Gemfile.lock
bundle install
bundle exec jekyll build
- name: deploy to firebase
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}

0 comments on commit 3b3cd50

Please sign in to comment.