Skip to content

Add renovate.json

Add renovate.json #109

Workflow file for this run

name: Example output
on:
push:
branches-ignore:
- master
- main
jobs:
xaringan-presentations:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-latest
container: inseefrlab/utilitr:latest
steps:
- name: Checkout Repository
env:
GITHUB_PAT: ${{ secrets.PAT_GITHUB }}
uses: actions/checkout@master
- name: Install Dependencies
env:
GITHUB_PAT: ${{ secrets.PAT_GITHUB }}
run: |
Rscript -e "install.packages(c('remotes'))"
Rscript -e "remotes::install_deps(dependencies = TRUE)"
- name: Render
run: |
mkdir -p public
Rscript -e 'source("build/build.R")'
- uses: actions/upload-artifact@v2
with:
name: Slides
path: public/
retention-days: 3
- name: Install npm
if: ${{ github.repository == 'inseefrlab/utilitr-presentation' }}
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Deploy to Netlify
if: ${{ github.repository == 'inseefrlab/utilitr-presentation' }}
# NETLIFY_AUTH_TOKEN and NETLIFY_SITE_ID added in the repo's secrets
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: |
npm install --unsafe-perm=true netlify-cli -g
netlify init
netlify deploy --alias=test --dir="public" --message "Deploy master"