Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions .github/workflows/search-growth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,9 @@ jobs:
with:
python-version: "3.12"

- name: Prepare stable release evidence
env:
GH_TOKEN: ${{ github.token }}
- name: Prepare deterministic stable release evidence
shell: bash
run: |
set -euo pipefail
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
cp landing/latest.json /tmp/arsas-published.json
else
gh api "repos/$GITHUB_REPOSITORY/contents/published.json?ref=release-evidence" --jq .content | base64 -d > /tmp/arsas-published.json
fi

run: cp landing/latest.json /tmp/arsas-published.json
- name: Build product website
run: python scripts/build-product-site.py --output _site --release-evidence /tmp/arsas-published.json

Expand Down Expand Up @@ -158,12 +149,9 @@ jobs:
create_credentials_file: true
export_environment_variables: true

- name: Prepare stable release evidence
env:
GH_TOKEN: ${{ github.token }}
- name: Prepare deterministic stable release evidence
shell: bash
run: gh api "repos/$GITHUB_REPOSITORY/contents/published.json?ref=release-evidence" --jq .content | base64 -d > /tmp/arsas-published.json

run: cp landing/latest.json /tmp/arsas-published.json
- name: Build current product website
run: python scripts/build-product-site.py --output _site --release-evidence /tmp/arsas-published.json

Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/site-measurement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,9 @@ jobs:
- name: Install offline report dependency
run: python -m pip install --disable-pip-version-check --quiet requests

- name: Prepare stable release evidence
env:
GH_TOKEN: ${{ github.token }}
- name: Prepare deterministic stable release evidence
shell: bash
run: |
set -euo pipefail
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
cp landing/latest.json /tmp/arsas-published.json
else
gh api "repos/$GITHUB_REPOSITORY/contents/published.json?ref=release-evidence" --jq .content | base64 -d > /tmp/arsas-published.json
fi

run: cp landing/latest.json /tmp/arsas-published.json
- name: Build deterministic website
run: python scripts/build-product-site.py --output _site --release-evidence /tmp/arsas-published.json

Expand Down Expand Up @@ -195,12 +186,9 @@ jobs:
create_credentials_file: true
export_environment_variables: true

- name: Prepare stable release evidence
env:
GH_TOKEN: ${{ github.token }}
- name: Prepare deterministic stable release evidence
shell: bash
run: gh api "repos/$GITHUB_REPOSITORY/contents/published.json?ref=release-evidence" --jq .content | base64 -d > /tmp/arsas-published.json

run: cp landing/latest.json /tmp/arsas-published.json
- name: Build current website
run: python scripts/build-product-site.py --output _site --release-evidence /tmp/arsas-published.json

Expand Down
Loading