Skip to content

add git info

add git info #2

Workflow file for this run

name: Deploy Pages
on:
push:
branches: [ master, develop, deploy-gh-pages ]
jobs:
build-and-deploy:

Check failure on line 7 in .github/workflows/deploy-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Install Asciidoctor and Asciidoctor-diagram
run: gem install asciidoctor asciidoctor-diagram
- name: Install Graphviz
run: sudo apt-get install graphviz
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Configure Git
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
- name: Install npm dependencies in docs
run: cd docs && npm install
- name: Build project
run: cd docs && npm run build
- name: Deploy project
run: cd docs && npm run deploy