Revert "retry torchlight step if it gets hung"

This reverts commit 331cf3fa1f.
This commit is contained in:
John Bowdre 2024-01-21 07:59:53 -06:00
parent 331cf3fa1f
commit fbb0ad085a

View file

@ -27,8 +27,6 @@ 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:
@ -45,12 +43,9 @@ jobs:
--minify \ --minify \
--baseURL "https://runtimeterror.dev/" --baseURL "https://runtimeterror.dev/"
- name: Highlight with Torchlight - name: Highlight with Torchlight
uses: nick-fields/retry@v2 run: |
with: npm i @torchlight-api/torchlight-cli
timeout_seconds: 120 npx torchlight
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: