Skip to content

Commit

Permalink
ci: Fix up paths to auxilary files
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Sep 5, 2023
1 parent 54e7dd6 commit 7bfbb98
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: |
scp lfs-sysv-zh_CN.tar.xz "[email protected]:/tmp/lfs-sysv-zh_CN.tar.xz"
Expand Down Expand Up @@ -140,9 +140,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: |
scp lfs-systemd-zh_CN.tar.xz "[email protected]:/tmp/lfs-systemd-zh_CN.tar.xz"
Expand Down Expand Up @@ -193,9 +193,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: scp render/LFS-BOOK.html "[email protected]:/var/www/xry111/lfs/zh_CN/${SYSV}"

Expand Down Expand Up @@ -241,9 +241,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: scp render/LFS-SYSD-BOOK.html "[email protected]:/var/www/xry111/lfs/zh_CN/${SYSD}"

Expand Down Expand Up @@ -295,9 +295,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: scp render/LFS-BOOK.pdf "[email protected]:/var/www/xry111/lfs/zh_CN/${SYSV}"

Expand Down Expand Up @@ -350,9 +350,9 @@ jobs:
with:
name: aux-files
- name: Set SSH Host Key
run: cat aux-files/known_hosts >> ~/.ssh/known_hosts
run: cat known_hosts >> ~/.ssh/known_hosts
- name: Set Environment
run: sh aux-files/setenv.sh "${GITHUB_REF}"
run: sh setenv.sh "${GITHUB_REF}"
- name: Upload the Book
run: scp render/LFS-SYSD-BOOK.pdf "[email protected]:/var/www/xry111/lfs/zh_CN/${SYSD}"
make_release:
Expand Down

0 comments on commit 7bfbb98

Please sign in to comment.