diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6311385..37e45ba 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,17 +1,14 @@ name: Deploy - -on: +'on': push: - branches: [main] - workflow_dispatch: - + branches: + - main + workflow_dispatch: null permissions: contents: read - concurrency: group: pages-production cancel-in-progress: false - jobs: deploy: name: Deploy GitHub Pages @@ -21,22 +18,25 @@ jobs: contents: read pages: write id-token: write + attestations: read environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} steps: - - name: Check out source - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Set up tools - uses: jdx/mise-action@9b200bcecbfd6303e69a4a261b2e09e3757440a7 # v5.2.0 - - name: Validate and build the redirect - run: make install check - - name: Configure GitHub Pages - uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 - - name: Upload the static site - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 - with: - path: .artifacts/dist - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 + - name: Check out source + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + - name: Set up locked Komizo + uses: nicodes/komizo/setup@40086036977a5fc0119d6c4c1d5eb6ae3ab3b4b9 + env: + GH_TOKEN: ${{ github.token }} + - name: Validate and build the redirect + run: komizo check + - name: Configure GitHub Pages + uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d + - name: Upload the static site + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 + with: + path: .artifacts/dist + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 398f25b..89cdd37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: with: persist-credentials: false - name: Set up locked Komizo - uses: nicodes/komizo/setup@c5f5ce398dcae5c7b3f8157e8331e7fcdf0c9e03 + uses: nicodes/komizo/setup@40086036977a5fc0119d6c4c1d5eb6ae3ab3b4b9 env: GH_TOKEN: ${{ github.token }} timeout-minutes: 5 @@ -52,7 +52,7 @@ jobs: retention-days: 7 include-hidden-files: true - name: Check project - uses: nicodes/komizo/run@c5f5ce398dcae5c7b3f8157e8331e7fcdf0c9e03 + uses: nicodes/komizo/run@40086036977a5fc0119d6c4c1d5eb6ae3ab3b4b9 with: target: check - name: Upload artifacts diff --git a/.github/workflows/dependency-policy.yml b/.github/workflows/dependency-policy.yml index f2062c7..61b2f6d 100644 --- a/.github/workflows/dependency-policy.yml +++ b/.github/workflows/dependency-policy.yml @@ -45,7 +45,7 @@ jobs: ref: main timeout-minutes: 3 - name: Set up locked Komizo - uses: nicodes/komizo/setup@c5f5ce398dcae5c7b3f8157e8331e7fcdf0c9e03 + uses: nicodes/komizo/setup@40086036977a5fc0119d6c4c1d5eb6ae3ab3b4b9 env: GH_TOKEN: ${{ github.token }} timeout-minutes: 5 diff --git a/komizo.lock b/komizo.lock index e06fe50..dcb4ed7 100644 --- a/komizo.lock +++ b/komizo.lock @@ -1,8 +1,8 @@ { "version": 1, - "platform": "0.2.2", - "platform_revision": "c5f5ce398dcae5c7b3f8157e8331e7fcdf0c9e03", + "platform": "0.2.4", + "platform_revision": "40086036977a5fc0119d6c4c1d5eb6ae3ab3b4b9", "manifest_sha256": "f605f9b8126a0fdab262650c7812be90cbba5c472cdb335c8ef527dc2407888e", - "runtime_sha256": "467ab4cca4445f549a91ef24e1ae732f0727cfbc3470dfe09fd39c862e18a96c", + "runtime_sha256": "000c1991c455b7e1269646e40c05ebf4a1b0717197c34838d2b7669430b3e862", "recipe_sha256": "33ac62cab7dbea38c303cabc99c60ac1adf33ef21bd0b2b5c62bcb22fcac2235" }