Skip to content

Commit dc49d87

Browse files
authored
ci: fix deploy pages workflow error (#1044)
Workflow action "pages" is failing: ``` cp doc/udb-block.svg _site/ && ruby -r erb -r date -e "File.write('_site/index.html', ERB.new(File.read('tools/scripts/pages.html.erb'), trim_mode: '-').result(binding))" shell: /usr/bin/bash -e {0} env: SINGULARITY: 1 PAGES_URL: https://riscv-software-src.github.io/riscv-unified-db /home/runner/work/_temp/66305e27-873c-44c3-94d0-8903895f3902.sh: line 4: -e: command not found ``` I think the line invoking Ruby needs to be all on one logical line.
1 parent d183efc commit dc49d87

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,7 @@ jobs:
223223
PAGES_URL: https://riscv-software-src.github.io/riscv-unified-db
224224
run: >
225225
cp doc/udb-block.svg _site/ &&
226-
ruby -r erb -r date
227-
-e "File.write('_site/index.html',
228-
ERB.new(File.read('tools/scripts/pages.html.erb'),
229-
trim_mode: '-').result(binding))"
230-
226+
ruby -r erb -r date -e "File.write('_site/index.html', ERB.new(File.read('tools/scripts/pages.html.erb'), trim_mode: '-').result(binding))"
231227
232228
- name: Setup Pages
233229
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)