Skip to content

Commit 83e51d3

Browse files
committed
Disable automatic GitHub Pages deployment for now
This is blocked on fwcd#101
1 parent d84fcd3 commit 83e51d3

File tree

1 file changed

+30
-12
lines changed

1 file changed

+30
-12
lines changed

.github/workflows/deploy-to-github.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,33 @@ jobs:
3232
with:
3333
artifacts: tree-sitter-kotlin.wasm
3434
token: ${{ secrets.GITHUB_TOKEN }}
35-
- name: Set up folder for GitHub Pages deployment
36-
run: |
37-
mkdir public
38-
cp tree-sitter-kotlin.wasm public/tree-sitter-parser.wasm
39-
- name: Deploy to GitHub Pages
40-
uses: peaceiris/actions-gh-pages@v3
41-
with:
42-
github_token: ${{ secrets.GITHUB_TOKEN }}
43-
publish_dir: ./public
44-
keep_files: true
45-
user_name: 'github-actions[bot]'
46-
user_email: 'github-actions[bot]@users.noreply.github.com'
35+
36+
# TODO: Update this to the new playground layout. This would
37+
# involve deploying the Wasm binary to
38+
#
39+
# assets/tree-sitter-kotlin-<version>/tree-sitter-kotlin.wasm
40+
#
41+
# and would also require rewriting the versions in the
42+
# index.html (both the reference to the parser binary and the
43+
# displayed version). Ideally this should be performed by a
44+
# script that generates the index.html automatically. Perhaps
45+
# we could even generate this to automatically download
46+
# web-tree-sitter and maybe even generate playground.js from
47+
# the upstream playground.
48+
#
49+
# Also, we would likely want to replace peaceiris/actions-gh-pages
50+
# with the `gh` command-line tool, which should already be
51+
# preinstalled in the runner.
52+
53+
# - name: Set up folder for GitHub Pages deployment
54+
# run: |
55+
# mkdir public
56+
# cp tree-sitter-kotlin.wasm public/tree-sitter-parser.wasm
57+
# - name: Deploy to GitHub Pages
58+
# uses: peaceiris/actions-gh-pages@v3
59+
# with:
60+
# github_token: ${{ secrets.GITHUB_TOKEN }}
61+
# publish_dir: ./public
62+
# keep_files: true
63+
# user_name: 'github-actions[bot]'
64+
# user_email: 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)