diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3d41ff..1c58adf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,9 +21,9 @@ jobs: if: github.ref == 'refs/heads/main' steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - name: Build and deploy - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@90cd842959b82e0c012601be18ae249d6cdb1669 # v0.21.0 env: PAGES_BRANCH: gh-pages GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,10 +32,10 @@ jobs: if: github.ref != 'refs/heads/main' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - name: Install and build if: github.event.action != 'closed' - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@90cd842959b82e0c012601be18ae249d6cdb1669 # v0.21.0 env: BUILD_ONLY: true BUILD_FLAGS: --drafts