Compare commits

...
Author SHA1 Message Date
jonah 10c08de96f Use ubuntu-26.04 2026-11-06 23:16:19 -06:00
jonah 91258ebc78 ci: Update action dependencies 2026-11-06 23:14:32 -06:00
13 changed files with 70 additions and 72 deletions

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ runs:
using: composite using: composite
steps: steps:
# The main reason this action exists is just to keep the version number in one place instead of in each workflow :) # The main reason this action exists is just to keep the version number in one place instead of in each workflow :)
- uses: hkdobrev/minio-deploy-action@c758675f5667336646cbaddbf07ea5edfc7b4854 - uses: hkdobrev/minio-deploy-action@c758675f5667336646cbaddbf07ea5edfc7b4854 # 1.1.1
with: with:
endpoint: ${{ inputs.endpoint }} endpoint: ${{ inputs.endpoint }}
bucket: ${{ inputs.bucket }} bucket: ${{ inputs.bucket }}
+2 -2
View File
@@ -6,8 +6,8 @@ description: Build and load the container image.
runs: runs:
using: composite using: composite
steps: steps:
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- uses: docker/build-push-action@v6.9.0 - uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with: with:
context: . context: .
load: true load: true
+3 -3
View File
@@ -18,14 +18,14 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
continue-on-error: ${{ inputs.continue-on-error }} continue-on-error: ${{ inputs.continue-on-error }}
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Download Repository - name: Download Repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }} repository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
@@ -48,7 +48,7 @@ jobs:
tar -czf site-build-blog.tar.gz site tar -czf site-build-blog.tar.gz site
- name: Upload Site - name: Upload Site
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: site-build-blog.tar.gz name: site-build-blog.tar.gz
path: site-build-blog.tar.gz path: site-build-blog.tar.gz
+7 -9
View File
@@ -25,17 +25,17 @@ env:
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs: jobs:
build-and-push-image: build-and-push-image:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
fetch-depth: 0 fetch-depth: 0
submodules: true submodules: true
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@v3.3.0 uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}
@@ -44,7 +44,7 @@ jobs:
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v5.5.1 uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
@@ -56,16 +56,14 @@ jobs:
latest=${{ github.event_name == 'release' }} latest=${{ github.event_name == 'release' }}
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v6.9.0 uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with: with:
context: . context: .
push: true push: true
+4 -4
View File
@@ -58,9 +58,9 @@ jobs:
(needs.build_i18n.result == 'success' || needs.build_i18n.result == 'skipped') && (needs.build_i18n.result == 'success' || needs.build_i18n.result == 'skipped') &&
(needs.build_blog.result == 'success' || needs.build_blog.result == 'skipped') (needs.build_blog.result == 'success' || needs.build_blog.result == 'skipped')
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: site-build-* pattern: site-build-*
merge-multiple: true merge-multiple: true
@@ -70,7 +70,7 @@ jobs:
ls -la site/ ls -la site/
- name: Upload Site - name: Upload Site
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: site-build-combined name: site-build-combined
path: site path: site
@@ -83,7 +83,7 @@ jobs:
echo ${{ github.event.pull_request.head.sha }} > ./metadata/SHA echo ${{ github.event.pull_request.head.sha }} > ./metadata/SHA
- name: Upload metadata as artifact - name: Upload metadata as artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: metadata name: metadata
path: metadata path: metadata
+15 -15
View File
@@ -30,7 +30,7 @@ env:
jobs: jobs:
package_eng: package_eng:
name: Package English (${{ matrix.edition }}) name: Package English (${{ matrix.edition }})
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: read contents: read
strategy: strategy:
@@ -69,7 +69,7 @@ jobs:
run: printf '%s\n' "$EDITION_NAVIGATION" >> "$GITHUB_ENV" run: printf '%s\n' "$EDITION_NAVIGATION" >> "$GITHUB_ENV"
- name: Download Repository - name: Download Repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: ${{ inputs.repo }} repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }} ref: ${{ inputs.ref }}
@@ -128,7 +128,7 @@ jobs:
echo "ZIMFILE_NAME=privacyguides.org_en_${{ matrix.edition }}_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV" echo "ZIMFILE_NAME=privacyguides.org_en_${{ matrix.edition }}_$(date +%Y)-$(date +%m).zim" >> "$GITHUB_ENV"
- name: Create ZIM File - name: Create ZIM File
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3 uses: kohlerdominik/docker-run-action@1c78cb433a3a55b1940eb8c48a3e73eb752e5082 # v2.2.0
with: with:
image: ghcr.io/openzim/zim-tools:3.6.0 image: ghcr.io/openzim/zim-tools:3.6.0
volumes: ${{ github.workspace }}:/data volumes: ${{ github.workspace }}:/data
@@ -146,14 +146,14 @@ jobs:
/data/site/ /data/${{ env.ZIMFILE_NAME }} /data/site/ /data/${{ env.ZIMFILE_NAME }}
- name: Upload ZIM File - name: Upload ZIM File
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
path: ${{ env.ZIMFILE_NAME }} path: ${{ env.ZIMFILE_NAME }}
name: ${{ env.ZIMFILE_NAME }} name: ${{ env.ZIMFILE_NAME }}
compression-level: 0 compression-level: 0
- name: Run zimcheck - name: Run zimcheck
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3 uses: kohlerdominik/docker-run-action@1c78cb433a3a55b1940eb8c48a3e73eb752e5082 # v2.2.0
continue-on-error: true continue-on-error: true
with: with:
image: ghcr.io/openzim/zim-tools:3.6.0 image: ghcr.io/openzim/zim-tools:3.6.0
@@ -162,7 +162,7 @@ jobs:
zimcheck /data/${{ env.ZIMFILE_NAME }} zimcheck /data/${{ env.ZIMFILE_NAME }}
build_mul: build_mul:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
continue-on-error: true continue-on-error: true
permissions: permissions:
contents: read contents: read
@@ -180,7 +180,7 @@ jobs:
steps: steps:
- name: Download Repository - name: Download Repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: ${{ inputs.repo }} repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }} ref: ${{ inputs.ref }}
@@ -190,7 +190,7 @@ jobs:
- name: Download Translations - name: Download Translations
if: matrix.lang != 'en' if: matrix.lang != 'en'
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: privacyguides/i18n repository: privacyguides/i18n
ref: main ref: main
@@ -248,7 +248,7 @@ jobs:
tar -czf site-zimready-${{ matrix.lang }}.tar.gz site tar -czf site-zimready-${{ matrix.lang }}.tar.gz site
- name: Upload Site - name: Upload Site
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: site-zimready-${{ matrix.lang }}.tar.gz name: site-zimready-${{ matrix.lang }}.tar.gz
path: site-zimready-${{ matrix.lang }}.tar.gz path: site-zimready-${{ matrix.lang }}.tar.gz
@@ -256,14 +256,14 @@ jobs:
compression-level: 0 compression-level: 0
package_mul: package_mul:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
needs: [build_mul] needs: [build_mul]
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Download Repository - name: Download Repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: ${{ inputs.repo }} repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }} ref: ${{ inputs.ref }}
@@ -271,7 +271,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Download All Sites - name: Download All Sites
uses: actions/download-artifact@v4 uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: site-zimready-* pattern: site-zimready-*
merge-multiple: true merge-multiple: true
@@ -296,7 +296,7 @@ jobs:
ls -la site/ ls -la site/
- name: Create ZIM File - name: Create ZIM File
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3 uses: kohlerdominik/docker-run-action@1c78cb433a3a55b1940eb8c48a3e73eb752e5082 # v2.2.0
with: with:
image: ghcr.io/openzim/zim-tools:3.6.0 image: ghcr.io/openzim/zim-tools:3.6.0
volumes: ${{ github.workspace }}:/data volumes: ${{ github.workspace }}:/data
@@ -314,14 +314,14 @@ jobs:
/data/site/ /data/${{ env.ZIMFILE_NAME }} /data/site/ /data/${{ env.ZIMFILE_NAME }}
- name: Upload ZIM File - name: Upload ZIM File
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
path: ${{ env.ZIMFILE_NAME }} path: ${{ env.ZIMFILE_NAME }}
name: ${{ env.ZIMFILE_NAME }} name: ${{ env.ZIMFILE_NAME }}
compression-level: 0 compression-level: 0
- name: Run zimcheck - name: Run zimcheck
uses: kohlerdominik/docker-run-action@44bd2138ca4f85c36b2fdc3966ef03518879f7f3 uses: kohlerdominik/docker-run-action@1c78cb433a3a55b1940eb8c48a3e73eb752e5082 # v2.2.0
continue-on-error: true continue-on-error: true
with: with:
image: ghcr.io/openzim/zim-tools:3.6.0 image: ghcr.io/openzim/zim-tools:3.6.0
+6 -6
View File
@@ -39,14 +39,14 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
continue-on-error: ${{ inputs.continue-on-error }} continue-on-error: ${{ inputs.continue-on-error }}
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Download Repository - name: Download Repository
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: ${{ inputs.repo }} repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }} ref: ${{ inputs.ref }}
@@ -56,7 +56,7 @@ jobs:
- name: Download Translations - name: Download Translations
if: inputs.lang != 'en' if: inputs.lang != 'en'
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
repository: privacyguides/i18n repository: privacyguides/i18n
ref: main ref: main
@@ -74,7 +74,7 @@ jobs:
- name: Cache MkDocs assets - name: Cache MkDocs assets
if: inputs.cache if: inputs.cache
uses: actions/cache@v4 uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with: with:
path: .cache path: .cache
key: mkdocs-${{ inputs.lang }}-${{ hashFiles('requirements.txt') }}-${{ github.sha }} key: mkdocs-${{ inputs.lang }}-${{ hashFiles('requirements.txt') }}-${{ github.sha }}
@@ -109,14 +109,14 @@ jobs:
tar -czf site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz site tar -czf site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz site
- name: Upload Site - name: Upload Site
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz name: site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz
path: site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz path: site-${{ inputs.config }}-${{ inputs.lang }}.tar.gz
retention-days: 1 retention-days: 1
- name: Upload members list - name: Upload members list
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: inputs.config == 'build' && inputs.lang == 'en' if: inputs.config == 'build' && inputs.lang == 'en'
with: with:
name: members.md name: members.md
+3 -3
View File
@@ -29,20 +29,20 @@ jobs:
deploy: deploy:
needs: [build_blog] needs: [build_blog]
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Checkout deployment action - name: Checkout deployment action
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
ref: ${{ github.sha }} ref: ${{ github.sha }}
persist-credentials: false persist-credentials: false
sparse-checkout: .github/actions/deploy-garage sparse-checkout: .github/actions/deploy-garage
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: site-build-* pattern: site-build-*
merge-multiple: true merge-multiple: true
+4 -4
View File
@@ -14,10 +14,10 @@ concurrency:
jobs: jobs:
gitlab: gitlab:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- name: Mirror to GitLab - name: Mirror to GitLab
uses: wearerequired/git-mirror-action@v1 uses: wearerequired/git-mirror-action@6bbc55f2f0082bca533b72dc711f7d37154d40cc # v1.3.1
env: env:
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
with: with:
@@ -25,10 +25,10 @@ jobs:
destination-repo: "git@gitlab.com:privacyguides/privacyguides.org.git" destination-repo: "git@gitlab.com:privacyguides/privacyguides.org.git"
codeberg: codeberg:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- name: Mirror to Codeberg - name: Mirror to Codeberg
uses: wearerequired/git-mirror-action@v1 uses: wearerequired/git-mirror-action@6bbc55f2f0082bca533b72dc711f7d37154d40cc # v1.3.1
env: env:
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
with: with:
+7 -7
View File
@@ -20,11 +20,11 @@ jobs:
github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- name: Checkout deployment action - name: Checkout deployment action
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
# ref needs to be set so that the action is not run from untrusted PR code # ref needs to be set so that the action is not run from untrusted PR code
ref: ${{ github.sha }} ref: ${{ github.sha }}
@@ -32,7 +32,7 @@ jobs:
sparse-checkout: .github/actions/deploy-garage sparse-checkout: .github/actions/deploy-garage
- name: Download Website Build Artifact - name: Download Website Build Artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
name: site-build-combined name: site-build-combined
path: site path: site
@@ -40,7 +40,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Download Metadata Artifact - name: Download Metadata Artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
name: metadata name: metadata
path: metadata path: metadata
@@ -69,9 +69,9 @@ jobs:
target_dir: "/${{ env.SHORT_ALIAS }}/" target_dir: "/${{ env.SHORT_ALIAS }}/"
- name: Comment with preview link - name: Comment with preview link
uses: thollander/actions-comment-pull-request@v2.5.0 uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
with: with:
pr_number: ${{ steps.metadata.outputs.pr_number }} pr-number: ${{ steps.metadata.outputs.pr_number }}
message: | message: |
### <span aria-hidden="true">✅</span> Your preview is ready! ### <span aria-hidden="true">✅</span> Your preview is ready!
@@ -79,4 +79,4 @@ jobs:
| :---: | ---- | | :---: | ---- |
| <span aria-hidden="true">🔨</span> Latest commit | ${{ steps.metadata.outputs.sha }} | | <span aria-hidden="true">🔨</span> Latest commit | ${{ steps.metadata.outputs.sha }} |
| <span aria-hidden="true">😎</span> Preview | https://pr${{ env.SHORT_ALIAS }}.unreviewed.privacyguides.dev/en/ | | <span aria-hidden="true">😎</span> Preview | https://pr${{ env.SHORT_ALIAS }}.unreviewed.privacyguides.dev/en/ |
comment_tag: deployment comment-tag: deployment
+11 -11
View File
@@ -52,18 +52,18 @@ jobs:
release: release:
name: Create release notes name: Create release notes
needs: [build, build_zimfile] needs: [build, build_zimfile]
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: "*.zim" pattern: "*.zim"
merge-multiple: true merge-multiple: true
- name: Create release notes - name: Create release notes
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
with: with:
generateReleaseNotes: true generateReleaseNotes: true
artifacts: "*.zim" artifacts: "*.zim"
@@ -71,20 +71,20 @@ jobs:
deploy_garage: deploy_garage:
needs: [build, build_blog] needs: [build, build_blog]
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Checkout deployment action - name: Checkout deployment action
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
ref: ${{ github.sha }} ref: ${{ github.sha }}
persist-credentials: false persist-credentials: false
sparse-checkout: .github/actions/deploy-garage sparse-checkout: .github/actions/deploy-garage
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: site-build-* pattern: site-build-*
merge-multiple: true merge-multiple: true
@@ -103,7 +103,7 @@ jobs:
deploy_pages: deploy_pages:
needs: [build, build_blog] needs: [build, build_blog]
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: read contents: read
pages: write pages: write
@@ -114,9 +114,9 @@ jobs:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
steps: steps:
- uses: actions/configure-pages@v5 - uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with: with:
pattern: site-build-* pattern: site-build-*
merge-multiple: true merge-multiple: true
@@ -133,9 +133,9 @@ jobs:
</html> </html>
HTML HTML
- uses: actions/upload-pages-artifact@v3 - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with: with:
path: site path: site
- id: deployment - id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
+4 -4
View File
@@ -13,12 +13,12 @@ permissions:
jobs: jobs:
generate: generate:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
permissions: permissions:
contents: read contents: read
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
persist-credentials: "false" persist-credentials: "false"
fetch-depth: 1 fetch-depth: 1
@@ -27,7 +27,7 @@ jobs:
run: mkdir -p site/en run: mkdir -p site/en
- name: Update Discussions - name: Update Discussions
uses: yakubique/minio-download@v1.1.1 uses: yakubique/minio-download@f60b86f40ef8cf7af7473a7ad7cf15b9cadb56dc # v1.1.1
with: with:
endpoint: https://${{ vars.PROD_GARAGE_HOSTNAME }} endpoint: https://${{ vars.PROD_GARAGE_HOSTNAME }}
access_key: ${{ secrets.PROD_GARAGE_KEY_ID }} access_key: ${{ secrets.PROD_GARAGE_KEY_ID }}
@@ -40,7 +40,7 @@ jobs:
run: bash tools/generate-topics.sh --all run: bash tools/generate-topics.sh --all
- name: Upload modified index - name: Upload modified index
uses: yakubique/minio-upload@v1.1.3 uses: yakubique/minio-upload@44c9f09e70d59cf5d709403626ece00e88634ba6 # v1.1.3
with: with:
endpoint: https://${{ vars.PROD_GARAGE_HOSTNAME }} endpoint: https://${{ vars.PROD_GARAGE_HOSTNAME }}
access_key: ${{ secrets.PROD_GARAGE_KEY_ID }} access_key: ${{ secrets.PROD_GARAGE_KEY_ID }}
+3 -3
View File
@@ -17,14 +17,14 @@ concurrency:
jobs: jobs:
synchronize-with-crowdin: synchronize-with-crowdin:
runs-on: ubuntu-latest runs-on: ubuntu-26.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: crowdin action - name: crowdin action
uses: crowdin/github-action@v2.2.0 uses: crowdin/github-action@d651c77756acbe11a31d77a6fb79d8a239e1e05a # v3.6.0
with: with:
upload_sources: true upload_sources: true
upload_sources_args: "--auto-update --delete-obsolete" upload_sources_args: "--auto-update --delete-obsolete"