Skip to content

Commit ebb727a

Browse files
committed
fix ci
1 parent 06a9f8f commit ebb727a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
git add -A
5353
git commit -m "Update registry submodule"
5454
55-
# Push using PAT stored in GH_TOKEN
56-
git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/Zig-Index/zig-index.github.io.git HEAD:main
55+
# Push using the default GITHUB_TOKEN for this repo
56+
git push https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git HEAD:main
5757
5858
build:
5959
needs: check-changes
@@ -78,6 +78,9 @@ jobs:
7878

7979
- name: Upload Artifact for Pages
8080
uses: actions/upload-pages-artifact@v3
81+
with:
82+
path: ./dist
83+
name: github-pages
8184

8285
deploy:
8386
runs-on: ubuntu-latest

src/registry

0 commit comments

Comments
 (0)