diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 327e224813f..bd13c6964b4 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -50,7 +50,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Deploy if: ${{ github.event_name == 'push' && github.repository == 'ComplianceAsCode/content' && github.ref == 'refs/heads/master' }} - uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4 + uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6 with: branch: main # The branch the action should deploy to. folder: ${{ env.PAGES_DIR }} # The folder the action should deploy. diff --git a/.github/workflows/srg-mapping-table.yaml b/.github/workflows/srg-mapping-table.yaml index 37883effba8..ff1f0153bc8 100644 --- a/.github/workflows/srg-mapping-table.yaml +++ b/.github/workflows/srg-mapping-table.yaml @@ -99,7 +99,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Deploy if: ${{ github.event_name == 'push' && github.repository == 'ComplianceAsCode/content' }} - uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4 + uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a # v4.7.6 with: branch: main # The branch the action should deploy to. folder: ${{ env.PAGES_DIR }} # The folder the action should deploy.