From e1884d8abeca96794a5da9cf721b1b1d8a46eb9f Mon Sep 17 00:00:00 2001 From: ashu1069 Date: Tue, 30 Jul 2024 15:37:43 -0400 Subject: [PATCH] updates --- .github/workflows/pages.yml | 10 +++++++++- docs/blog.md | 4 ++++ docs/resume.md | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f175116..25f8f9b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,11 @@ name: Deploy Jekyll site to Pages on: push: - branches: ["main"] + branches: + - "main" + paths: + - "docs/**" + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,6 +32,9 @@ jobs: # Build job build: runs-on: ubuntu-latest + defaults: + run: + working-directory: docs steps: - name: Checkout uses: actions/checkout@v4 @@ -37,6 +44,7 @@ jobs: ruby-version: '3.3' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems + working-directory: '${{ github.workspace }}/docs' - name: Setup Pages id: pages uses: actions/configure-pages@v5 diff --git a/docs/blog.md b/docs/blog.md index e69de29..3911413 100644 --- a/docs/blog.md +++ b/docs/blog.md @@ -0,0 +1,4 @@ +--- +title: Blog +permalink: /blog/ +--- \ No newline at end of file diff --git a/docs/resume.md b/docs/resume.md index e69de29..a4f5acb 100644 --- a/docs/resume.md +++ b/docs/resume.md @@ -0,0 +1,4 @@ +--- +title: Resume +permalink: /resume/ +--- \ No newline at end of file