@@ -38,30 +38,11 @@ jobs:
3838 # as it finishes fastest and we want to ensure that it includes test sources.
3939 cmd : " Test/compile docs/bundle"
4040
41- # TODO(#1028): Reenable this
42- # - name: Push documentation
43- # uses: ./.github/actions/nix/run_bash_command_in_nix
44- # if: github.ref == 'refs/heads/main' && github.event_name == 'push'
45- # env:
46- # GH_USER: ${{ github.actor }}
47- # GH_TOKEN: ${{ secrets.GH_ISSUES }}
48- # with:
49- # additional_nix_args: "--keep GH_USER --keep GH_TOKEN"
50- # cmd: |
51- # REPO_DIR="$(mktemp -d)"
52- # export GIT_SSH_COMMAND="/usr/bin/ssh"
53- # git config --global user.email "splice-maintainers@digitalasset.com"
54- # git config --global user.name "DA Automation"
55- # git clone https://$GH_USER:$GH_TOKEN@github.com/digital-asset/decentralized-canton-sync.git "$REPO_DIR" -b docs
56- # # Given that we just wanna overwrite anything an rm + cp seems more straightforward than an rsync.
57- # rm -rf "$REPO_DIR/docs"
58- # cp -r "docs/html/html" "$REPO_DIR/docs"
59- # # Required to make GH service the _static directory properly.
60- # touch "$REPO_DIR/docs/.nojekyll"
61- # cd "$REPO_DIR"
62- # git add .
63- # git commit -m 'Update documentation'
64- # git push origin docs
41+ - name : Upload documentation artifacts
42+ uses : actions/upload-pages-artifact@2d163be3ddce01512f3eea7ac5b7023b5d643ce1
43+ if : github.ref == 'refs/heads/main' && github.event_name == 'push'
44+ with :
45+ path : docs/html/html
6546
6647 - name : Post-SBT job
6748 uses : ./.github/actions/sbt/post_sbt
0 commit comments