File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 uses : actions/download-artifact@v4
5050 with :
5151 name : mn
52+ path : _site
5253
5354 - name : " Firelight: create temporary Git repo"
5455 run : |
@@ -59,18 +60,18 @@ jobs:
5960
6061 - name : " Firelight: commit"
6162 run : |
62- ls -Al documents/cc-0001-report-ioptest
63- git add documents.xml
64- git add **/*.pdf
65- git add **/*.xml
63+ ls -Al _site/ documents/cc-0001-report-ioptest
64+ git add _site/ documents.xml
65+ git add _site/ **/*.pdf
66+ git add _site/ **/*.xml
6667 git commit -m "Commit MN XML & PDF artifacts"
6768
6869 - name : " Firelight: prepare config"
6970 run : |
7071 cat <<'EOF' >> anafero-config.json
7172 {
7273 "version": "0.1",
73- "entryPoint": "file:documents.xml",
74+ "entryPoint": "file:_site/ documents.xml",
7475 "storeAdapters": [
7576 "git+https://github.com/metanorma/firelight#collection-support/packages/relaton-collection-xml-store",
7677 "git+https://github.com/metanorma/firelight#collection-support/packages/metanorma-xml-store"
@@ -90,14 +91,14 @@ jobs:
9091 run : |
9192 npx --node-options='--experimental-vm-modules' \
9293 -y @riboseinc/anafero-cli@0.0.43 \
93- --target-dir _site \
94+ --target-dir dist \
9495 --path-prefix /cc-admin-documents \
9596 --current-rev main
9697
9798 - uses : actions/upload-artifact@v4
9899 with :
99100 name : fl
100- path : _site
101+ path : dist
101102 if-no-files-found : error
102103
103104 deploy :
You can’t perform that action at this time.
0 commit comments