From 618f279287b14d622ecbd7f87a1ef3ca83a6a316 Mon Sep 17 00:00:00 2001 From: ShipStatic Date: Wed, 12 Aug 2026 03:17:22 +0300 Subject: [PATCH 1/2] the README names what the run page now shows --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 54d18db..ae94ec9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Example workflows for the [ShipStatic GitHub Action](https://github.com/marketplace/actions/shipstatic) — a React + Vite app deployed to [action-example.shipstatic.com](https://action-example.shipstatic.com). +Every one of them writes a summary to its workflow run page — the deployment, its URL, the domain when one is linked, and for deploys made without an API key the claim link and expiry. Nothing to configure. + ## [`deploy-no-account.yml`](.github/workflows/deploy-no-account.yml) — Free, No Account Needed Push to `main` deploys instantly. No API key, no sign-up, no configuration — expires in 3 days. @@ -84,7 +86,7 @@ jobs: ## [`preview-pr.yml`](.github/workflows/preview-pr.yml) — PR Preview -Every pull request gets a preview deploy with the URL posted as a comment. Works without an API key — expires in 3 days. +Every pull request gets a preview deploy with the URL posted as a comment — one comment per PR, updated in place on every push rather than a new one each time. Works without an API key — expires in 3 days, and the comment carries the claim link that keeps it. ```yaml name: Preview From ddbe58f4fba6e19f8f7f6a937ebddfa76e5b4ba7 Mon Sep 17 00:00:00 2001 From: ShipStatic Date: Wed, 12 Aug 2026 03:19:20 +0300 Subject: [PATCH 2/2] the domain example stops writing a summary the action writes --- .github/workflows/deploy-domain.yml | 4 +--- README.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-domain.yml b/.github/workflows/deploy-domain.yml index da4eb52..cc8425e 100644 --- a/.github/workflows/deploy-domain.yml +++ b/.github/workflows/deploy-domain.yml @@ -13,11 +13,9 @@ jobs: steps: - uses: actions/checkout@v7 - run: npm ci && npm run build - - id: deploy - uses: shipstatic/action@v2 + - uses: shipstatic/action@v2 with: token: ${{ secrets.SHIP_TOKEN }} path: ./dist domain: ${{ vars.DOMAIN }} github-token: ${{ secrets.GITHUB_TOKEN }} - - run: echo "Deployed to ${{ steps.deploy.outputs.url }}" >> "$GITHUB_STEP_SUMMARY" diff --git a/README.md b/README.md index ae94ec9..9f8f9a0 100644 --- a/README.md +++ b/README.md @@ -74,14 +74,12 @@ jobs: steps: - uses: actions/checkout@v7 - run: npm ci && npm run build - - id: deploy - uses: shipstatic/action@v2 + - uses: shipstatic/action@v2 with: token: ${{ secrets.SHIP_TOKEN }} path: ./dist domain: ${{ vars.DOMAIN }} github-token: ${{ secrets.GITHUB_TOKEN }} - - run: echo "Deployed to ${{ steps.deploy.outputs.url }}" >> "$GITHUB_STEP_SUMMARY" ``` ## [`preview-pr.yml`](.github/workflows/preview-pr.yml) — PR Preview