From ab72e2ed16eaa1749de63071af54b699030a9f03 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 29 Apr 2022 22:42:07 +0200 Subject: Change deploy directory --- .github/workflows/cd.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f21c545..06bd41c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -32,14 +32,12 @@ jobs: hugo-version: "${{ github.event.inputs.hugoVersion }}" - name: Build - run: hugo --source=exampleSite --buildDrafts --gc --verbose --minify - - - name: Verify build run: | - ls -al ./exampleSite/public + hugo --source=exampleSite --buildDrafts --gc --verbose --minify + cp ./exampleSite/public ./docs - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./exampleSite/public + publish_dir: ./docs -- cgit v1.2.3