Skip to content

Jochens Energiewende 2. Auflage #28

Jochens Energiewende 2. Auflage

Jochens Energiewende 2. Auflage #28

Workflow file for this run

name: Render talks
on:
push:
branches:
- master
jobs:
sync:
name: Render talks and publish to GitHub pages
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Render talks
run: |
npm install
node render-talks.js
sudo apt-get -y --no-install-recommends install libxml2-utils > /dev/null
.github/workflows/create-index-html.sh
git config --local user.email "[email protected]"
git config --local user.name "yours sincerely CI"
git add -f *.html
git add -f node_modules/**
git commit -m "Rendered talks"
- name: Refresh latest action branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'gh-pages'
force: true