From 94a4b3fd5eaf6c880c3940cacec9e55452b53be7 Mon Sep 17 00:00:00 2001 From: ramayyala Date: Wed, 5 Feb 2025 16:24:25 +0530 Subject: [PATCH 1/2] fix: created new gh-actions branch and updated all actions to latest versions --- .github/workflows/publish_docs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml index 179c55b..2bfca6e 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_docs.yml @@ -26,10 +26,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Install dependencies working-directory: ./docs run: | @@ -39,7 +39,7 @@ jobs: working-directory: ./docs run: make build - name: Upload build artifacts - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: './docs/build/html' @@ -52,4 +52,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 From 4986dc09eda4b01f84404d70e12be7a2f017d460 Mon Sep 17 00:00:00 2001 From: ramayyala Date: Wed, 5 Feb 2025 16:26:33 +0530 Subject: [PATCH 2/2] chore: added on push parameter for gh-actions branch --- .github/workflows/publish_docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml index 2bfca6e..bccf606 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_docs.yml @@ -5,7 +5,10 @@ name: Build and deploy docs on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: + - gh-actions + - main + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: