Skip to content

Commit 2713d4b

Browse files
use vars.DOMAIN, switch to action-example.shipstatic.com
1 parent 69c04d7 commit 2713d4b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-domain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
with:
1919
api-key: ${{ secrets.SHIP_API_KEY }}
2020
path: ./dist
21-
domain: github-action.shipstatic.com
21+
domain: ${{ vars.DOMAIN }}
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
2323
- run: echo "Deployed to ${{ steps.deploy.outputs.url }}" >> "$GITHUB_STEP_SUMMARY"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Deploy](https://github.com/shipstatic/action-example/actions/workflows/deploy-domain.yml/badge.svg)](https://github.com/shipstatic/action-example/actions/workflows/deploy-domain.yml)
44

5-
Example workflows for the [ShipStatic GitHub Action](https://github.com/marketplace/actions/shipstatic) — a React + Vite app deployed to [github-action.shipstatic.com](https://github-action.shipstatic.com).
5+
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).
66

77
## [`deploy-no-account.yml`](.github/workflows/deploy-no-account.yml) — Free, No Account Needed
88

@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
api-key: ${{ secrets.SHIP_API_KEY }}
7979
path: ./dist
80-
domain: github-action.shipstatic.com
80+
domain: ${{ vars.DOMAIN }}
8181
github-token: ${{ secrets.GITHUB_TOKEN }}
8282
- run: echo "Deployed to ${{ steps.deploy.outputs.url }}" >> "$GITHUB_STEP_SUMMARY"
8383
```

0 commit comments

Comments
 (0)