From 888d769f56363b69d912faba4dec912cad41f6ae Mon Sep 17 00:00:00 2001 From: dhruv-anand-aintech Date: Fri, 17 May 2024 12:32:05 +0530 Subject: [PATCH] add upload artifact step --- .github/workflows/static.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 62bfbe2..a0a5978 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -45,9 +45,15 @@ jobs: - name: Build site run: bundle exec jekyll build + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: github-pages + path: ./_site + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./_site \ No newline at end of file + publish_dir: ./_site