File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,11 @@ jobs:
16
16
cache : pnpm
17
17
- run : pnpm install --frozen-lockfile
18
18
19
+ - name : Checkout
20
+ run : git checkout -B refs/heads/sync/${{ github.event.client_payload.package }}/${{ github.event.client_payload.owner }}/${{ github.event.client_payload.branch }}
21
+
19
22
- name : Sync
20
- run : cd apps/svelte.dev && pnpm sync-docs --owner="${{ github.event.client_payload.owner }}" -p "${{ github.event.client_payload.package }}#${{ github.event.client_payload.branch }}""
23
+ run : cd apps/svelte.dev && pnpm sync-docs --owner="${{ github.event.client_payload.owner }}" -p "${{ github.event.client_payload.package }}#${{ github.event.client_payload.branch }}"
21
24
22
- - name : Create branch
23
- uses :
peterjgrainger/[email protected]
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- with :
27
- branch : refs/heads/sync/${{ github.event.client_payload.package }}/${{ github.event.client_payload.owner }}/${{ github.event.client_payload.branch }}
25
+ - name : Push
26
+ run : git add -A && git commit -m "sync docs" && git push -u origin sync/${{ github.event.client_payload.package }}/${{ github.event.client_payload.owner }}/${{ github.event.client_payload.branch }}
You can’t perform that action at this time.
0 commit comments