File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -39,27 +39,26 @@ jobs:
3939 - name : Building wasm
4040 run : |
4141 wasm32-wasi-cabal build sql2er-wasm -f build-sql2er-wasm
42-
43- deploy :
44- environment :
45- name : github-pages
46- url : ${{steps.deployment.outputs.page_url}}
4742
48- runs-on : ubuntu-22.04
49- needs : build
50- steps :
51- - name : Copy binary and index.html
43+ - name : Copy binary and index.html
5244 run : |
5345 mkdir -p artifact_dir
5446 cp $(cabal list-bin sql2er-wasm -f build-sql2er-wasm) artifact_dir/
5547 cp index.html artifact_dir/
5648
57- - name : Upload static files as artifact
49+ - name : Upload static files as artifact
5850 id : deployment
5951 uses : actions/upload-pages-artifact@v3
6052 with :
6153 path : artifact_dir/
62-
54+
55+ deploy :
56+ environment :
57+ name : github-pages
58+ url : ${{ steps.deployment.outputs.page_url }}
59+ runs-on : ubuntu-latest
60+ needs : build
61+ steps :
6362 - name : Deploy to GitHub Pages
6463 id : deployment
6564 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments