1 parent 000c765 commit 213a252Copy full SHA for 213a252
1 file changed
.github/workflows/deploy-pages.yml
@@ -31,12 +31,15 @@ jobs:
31
run: npm run build
32
33
- name: Deploy to falconlang.github.io
34
+ env:
35
+ TOKEN: ${{ secrets.PAGES_DEPLOY_TOKEN }}
36
run: |
- git clone https://x-access-token:${{ secrets.PAGES_DEPLOY_TOKEN }}@github.com/falconlang/falconlang.github.io.git _site
37
+ git clone https://x-access-token:${TOKEN}@github.com/falconlang/falconlang.github.io.git _site
38
rsync -a --delete tensor/dist/ _site/
39
cd _site
40
git config user.email "action@github.com"
41
git config user.name "GitHub Actions"
42
+ git remote set-url origin https://x-access-token:${TOKEN}@github.com/falconlang/falconlang.github.io.git
43
git add -A
44
git diff --cached --quiet || git commit -m "Deploy tensor"
45
git push
0 commit comments