Skip to content

Commit 2006ed8

Browse files
committed
Update readme
1 parent 5f0a071 commit 2006ed8

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ Use the following GitHub actions workflow to continuiously deploy your project t
154154
```yaml
155155
name: Vercel
156156

157-
on: push
157+
on:
158+
push:
159+
branches:
160+
- main
158161

159162
env:
160163
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
@@ -164,7 +167,7 @@ env:
164167
jobs:
165168
deploy:
166169
runs-on: ubuntu-latest
167-
container: swift:5.7-amazonlinux2
170+
container: swift:5.10-amazonlinux2
168171

169172
steps:
170173
- uses: actions/checkout@v3
@@ -173,7 +176,8 @@ jobs:
173176
with:
174177
path: .build
175178
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
176-
restore-keys: ${{ runner.os }}-spm-
179+
restore-keys: |
180+
${{ runner.os }}-spm-
177181
178182
- uses: actions/setup-node@v3
179183
with:

0 commit comments

Comments
 (0)