Browse Source

Fix indentation

github-actions
Garrit Franke 3 years ago
parent
commit
8fd3287aff
  1. 39
      .github/workflows/deploy_docs.yml

39
.github/workflows/deploy_docs.yml

@ -1,32 +1,31 @@
on: on:
push: push:
branches: branches:
- master - master
name: Deploy to Github Pages name: Deploy to Github Pages
jobs: jobs:
deploy: deploy:
name: deploy name: deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Setup mdBook - name: Setup mdBook
uses: peaceiris/actions-mdbook@v1 uses: peaceiris/actions-mdbook@v1
with: with:
mdbook-version: 'latest' mdbook-version: "latest"
- name: setup python - name: setup python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.8
run: | run: |
python build_docs.py python build_docs.py
- name: Deploy - name: Deploy
uses: JamesIves/github-pages-deploy-action@master uses: JamesIves/github-pages-deploy-action@master
env: env:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages BRANCH: gh-pages
FOLDER: book FOLDER: book
BUILD_SCRIPT: npm ci && npm run build && touch book/.nojekyll BUILD_SCRIPT: touch book/.nojekyll
CNAME: slashdev.space

Loading…
Cancel
Save