mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +00:00
retry torchlight step if it gets hung
This commit is contained in:
parent
9dbc4542c2
commit
50597ea7d4
1 changed files with 8 additions and 3 deletions
11
.github/workflows/deploy-to-neocities.yml
vendored
11
.github/workflows/deploy-to-neocities.yml
vendored
|
@ -27,6 +27,8 @@ jobs:
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
- name: Install Dart Sass
|
- name: Install Dart Sass
|
||||||
run: sudo snap install dart-sass
|
run: sudo snap install dart-sass
|
||||||
|
- name: Install Torchlight CLI
|
||||||
|
run: npm i @torchlight-api/torchlight-cli
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -43,9 +45,12 @@ jobs:
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL "https://runtimeterror.dev/"
|
--baseURL "https://runtimeterror.dev/"
|
||||||
- name: Highlight with Torchlight
|
- name: Highlight with Torchlight
|
||||||
run: |
|
uses: nick-fields/retry@v2
|
||||||
npm i @torchlight-api/torchlight-cli
|
with:
|
||||||
npx torchlight
|
timeout_seconds: 120
|
||||||
|
max_attempts: 3
|
||||||
|
retry_wait_seconds: 15
|
||||||
|
command: npx torchlight
|
||||||
- name: Deploy to neocities
|
- name: Deploy to neocities
|
||||||
uses: bcomnes/deploy-to-neocities@v1
|
uses: bcomnes/deploy-to-neocities@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue