diff --git a/.github/workflows/adocs-build.yml b/.github/workflows/adocs-build.yml index 7f32d0d..879ae9d 100644 --- a/.github/workflows/adocs-build.yml +++ b/.github/workflows/adocs-build.yml @@ -10,7 +10,7 @@ jobs: name: asciidoctor -D docs --backend=html5 -o index.html -a toc2 docs/index.adoc steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Get build container id: adocbuild uses: tonynv/asciidoctor-action@master @@ -19,7 +19,7 @@ jobs: - name: Print execution time run: echo "Time ${{ steps.adocbuild.outputs.time }}" - name: Deploy docs to ghpages - uses: peaceiris/actions-gh-pages@v4 + uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_branch: gh-pages diff --git a/.github/workflows/netlify-deploy.yaml b/.github/workflows/netlify-deploy.yaml index cee987d..b725a08 100644 --- a/.github/workflows/netlify-deploy.yaml +++ b/.github/workflows/netlify-deploy.yaml @@ -13,12 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - name: Setup Graphviz - uses: ts-graphviz/setup-graphviz@v2.0.2 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: actions/checkout@v4.2.2 - - - uses: actions/setup-java@v4.5.0 + - uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: java-version: '17' distribution: 'temurin' @@ -30,7 +27,7 @@ jobs: - name: Generate Site run: mvn generate-resources - - uses: jsmrcaga/action-netlify-deploy@v2.3.0 + - uses: jsmrcaga/action-netlify-deploy@06b6a09e152823cce0d76c0dbb22b914934de198 # v2.3.0 with: build_directory: ./target/generated-docs/ install_command: "echo Skipping installing the dependencies"