Skip to content

feat: P7 workload 7 (httpget) — Network boundary at workload scale, l… #169

feat: P7 workload 7 (httpget) — Network boundary at workload scale, l…

feat: P7 workload 7 (httpget) — Network boundary at workload scale, l… #169

Workflow file for this run

name: site
on:
push:
branches:
- main
workflow_dispatch:
# Pages allows ONE in-flight deployment; back-to-back pushes raced and the
# second 400'd ("in progress deployment", lambdaclass run on 499f6420).
# Queue instead: newest deploy wins, older pending ones are cancelled.
concurrency:
group: pages-deploy
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Zola
# PINNED version + fail-fast curl. The old form asked the GitHub API
# for the latest tag UNAUTHENTICATED — Actions runners share API rate
# limits, so the call returned a rate-limit page, jq produced garbage,
# and the 404 HTML was piped into tar ("not in gzip format",
# lambdaclass/concrete run #145). Pinning removes both the rate limit
# and latest-asset drift; -f makes any HTTP error fail the step loudly.
run: |
tag="v0.19.2"
url="https://github.com/getzola/zola/releases/download/${tag}/zola-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir zola
curl -fsSL "$url" | tar -xz --directory=./zola
echo "$(pwd)/zola" >> "$GITHUB_PATH"
- name: Build Site
run: |
zola --root site build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './site/public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4