1 parent c3dc0ef commit 812369dCopy full SHA for 812369d
1 file changed
.github/workflows/deploy-pages.yml
@@ -29,9 +29,12 @@ jobs:
29
run: npm run build
30
31
- name: Deploy to falconlang.github.io
32
- uses: peaceiris/actions-gh-pages@v3
33
- with:
34
- personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
35
- external_repository: falconlang/falconlang.github.io
36
- publish_branch: main
37
- publish_dir: tensor/dist
+ run: |
+ git clone https://x-access-token:${{ secrets.PAGES_DEPLOY_TOKEN }}@github.com/falconlang/falconlang.github.io.git _site
+ rsync -a --delete tensor/dist/ _site/
+ cd _site
+ git config user.email "action@github.com"
+ git config user.name "GitHub Actions"
38
+ git add -A
39
+ git diff --cached --quiet || git commit -m "Deploy tensor"
40
+ git push
0 commit comments