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
2 changes: 0 additions & 2 deletions .github/workflows/deploy-api-key.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@ on:

permissions:
contents: read
deployments: write

jobs:
deploy:
Expand All@@ -17,4 +16,3 @@ jobs:
with:
token: ${{ secrets.SHIP_TOKEN }}
path: ./dist
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/deploy-domain.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@ on:

permissions:
contents: read
deployments: write

jobs:
deploy:
Expand All@@ -19,5 +18,4 @@ jobs:
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"
2 changes: 0 additions & 2 deletions .github/workflows/preview-pr.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,6 @@ on: pull_request

permissions:
contents: read
deployments: write
pull-requests: write

jobs:
Expand All@@ -15,4 +14,3 @@ jobs:
- uses: shipstatic/action@v2
with:
path: ./dist
github-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 0 additions & 6 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,7 +37,6 @@ on:

permissions:
contents: read
deployments: write

jobs:
deploy:
Expand All@@ -49,7 +48,6 @@ jobs:
with:
token: ${{ secrets.SHIP_TOKEN }}
path: ./dist
github-token: ${{ secrets.GITHUB_TOKEN }}
```

## [`deploy-domain.yml`](.github/workflows/deploy-domain.yml) — Free API Key + Custom Domain
Expand All@@ -64,7 +62,6 @@ on:

permissions:
contents: read
deployments: write

jobs:
deploy:
Expand All@@ -78,7 +75,6 @@ jobs:
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"
```

Expand All@@ -92,7 +88,6 @@ on: pull_request

permissions:
contents: read
deployments: write
pull-requests: write

jobs:
Expand All@@ -104,7 +99,6 @@ jobs:
- uses: shipstatic/action@v2
with:
path: ./dist
github-token: ${{ secrets.GITHUB_TOKEN }}
```

## [`deploy-password.yml`](.github/workflows/deploy-password.yml) — Password-Protected Deploy
Expand Down