Add JCP slides #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |