From e72d849007327e2e860d2d00bf086324ab1d1db8 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Wed, 18 Aug 2021 19:06:27 +0200 Subject: [PATCH] fix doc style --- .github/workflows/build-deploy-docs.yml | 72 ++++++++++++------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build-deploy-docs.yml b/.github/workflows/build-deploy-docs.yml index 0e139b56..4345a418 100644 --- a/.github/workflows/build-deploy-docs.yml +++ b/.github/workflows/build-deploy-docs.yml @@ -1,36 +1,36 @@ -name: Build Deploy Docs - -on: - push: - branches: - - master - -jobs: - build-deploy-docs: - if: github.repository == 'laradock/laradock' - runs-on: ubuntu-20.04 -# concurrency: -# group: ${{ github.workflow }}-${{ github.ref }} - defaults: - run: - working-directory: ./DOCUMENTATION - steps: - - name: Checkout Source Code - uses: actions/checkout@v2 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: 'latest' - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: true - - - name: Build Hugo Site - run: hugo --minify - - - name: Deploy Hugo Site to Github Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: ./docs +name: Build Deploy Docs + +on: + push: + branches: + - master + +jobs: + build-deploy-docs: + if: github.repository == 'laradock/laradock' + runs-on: ubuntu-20.04 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + defaults: + run: + working-directory: ./DOCUMENTATION + steps: + - name: Checkout Source Code + uses: actions/checkout@v2 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.55.0' + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + + - name: Build Hugo Site + run: hugo --minify + + - name: Deploy Hugo Site to Github Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: ./docs