Skip to content

Restored original Chrome setup and added Chrome driver and dependencies. #6

Restored original Chrome setup and added Chrome driver and dependencies.

Restored original Chrome setup and added Chrome driver and dependencies. #6

Workflow file for this run

name: Push to main
on:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
install-chromedriver: true

Check failure on line 15 in .github/workflows/push-main.yml

View workflow run for this annotation

GitHub Actions / Push to main

Invalid workflow file

The workflow is not valid. .github/workflows/push-main.yml (Line: 15, Col: 9): Unexpected value 'install-chromedriver' .github/workflows/push-main.yml (Line: 16, Col: 9): Unexpected value 'install-dependencies'
install-dependencies: true
- name: Setup Pandoc
uses: pandoc/actions/setup@v1
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ vars.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
- name: Checkout
uses: actions/checkout@v4
- name: Start terminal session (pre build)
if: vars.TERMINAL_PRE_BUILD == 'true'
uses: mxschmitt/action-tmate@v3
- name: Build document
shell: bash
run: |
npm install
npm run pandoc-spec
mkdir pages
mv index.html pages
- name: Start terminal session (post build)
if: vars.TERMINAL_POST_BUILD == 'true'
uses: mxschmitt/action-tmate@v3
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload pages directory
uses: actions/upload-pages-artifact@v3
with:
path: pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4