Skip to content

Merge pull request #13 from raffaem/tensorflow #73

Merge pull request #13 from raffaem/tensorflow

Merge pull request #13 from raffaem/tensorflow #73

name: Build and Deploy
on: [push, workflow_dispatch]
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache: false
- name: Setup keras
run: Rscript -e "keras::install_keras()"
- name: Build 🔧
run: Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
folder: _book