diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index b7adac1a..044e34cd 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -1,12 +1,12 @@ - -name: Docs Deployment +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled on: + # Runs on pushes targeting the default branch push: - branches: ["main", "develop"] - paths: - - 'docs/**' - - '.github/workflows/jekyll-gh-pages.yml' + branches: [$default-branch] + + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages @@ -33,7 +33,7 @@ jobs: - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: - source: ./docs + source: ./ destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v2