From 57bfc0886d7c93a6e4e2a1c0e2457f5fe87fb51d Mon Sep 17 00:00:00 2001 From: slashformotion Date: Wed, 28 Jul 2021 10:47:38 +0200 Subject: [PATCH] update gh workflow --- .github/workflows/build-site.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 33cc8c8..51079fa 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -7,7 +7,10 @@ on: jobs: deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./exampleSite steps: - uses: actions/checkout@v2 with: @@ -25,7 +28,6 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GH_TOKEN }} - publish_dir: ./public \ No newline at end of file + publish_dir: ./exampleSite/public \ No newline at end of file