We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
background-action
1 parent e5a4bfa commit 0e1d0e2Copy full SHA for 0e1d0e2
.github/workflows/test.yaml
@@ -41,10 +41,10 @@ jobs:
41
sudo apt-get install -y nginx
42
43
- name: Start Docusaurus server
44
- run: |
45
- nohup npx docusaurus serve --port 3000 --no-open &
46
- sleep 5
47
- curl -f http://localhost:3000 > /dev/null
+ uses: JarvusInnovations/background-action@v1
+ with:
+ run: npx docusaurus serve --port 3000 --no-open
+ wait-on: http://localhost:3000
48
49
- name: Start Nginx with project config
50
run: |
0 commit comments