@@ -35,33 +35,33 @@ jobs:
3535 INTERCOM_APP_ID : ${{ secrets.INTERCOM_APP_ID }}
3636 SEGMENT_TOKEN : ${{ secrets.SEGMENT_TOKEN }}
3737
38- - name : Install Nginx
39- run : |
40- sudo apt-get update
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
48-
49- - name : Start Nginx with project config
50- run : |
51- cat > default.conf <<EOF
52- worker_processes auto;
53- error_log $(pwd)/logs/error.log;
54- pid $(pwd)/logs/nginx.pid;
55- events {}
56- http {
57- access_log $(pwd)/logs/access.log;
58- include $(pwd)/nginx.conf;
59- }
60- EOF
61- sed -i 's|https://apify.github.io/apify-docs|http://localhost:3000|g' default.conf
62- mkdir -p $(pwd)/logs
63- nginx -c $(pwd)/default.conf
64- sleep 1
38+ # - name: Install Nginx
39+ # run: |
40+ # sudo apt-get update
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
48+ #
49+ # - name: Start Nginx with project config
50+ # run: |
51+ # cat > default.conf <<EOF
52+ # worker_processes auto;
53+ # error_log $(pwd)/logs/error.log;
54+ # pid $(pwd)/logs/nginx.pid;
55+ # events {}
56+ # http {
57+ # access_log $(pwd)/logs/access.log;
58+ # include $(pwd)/nginx.conf;
59+ # }
60+ # EOF
61+ # sed -i 's|https://apify.github.io/apify-docs|http://localhost:3000|g' default.conf
62+ # mkdir -p $(pwd)/logs
63+ # nginx -c $(pwd)/default.conf
64+ # sleep 1
6565
6666 - name : Run header assertions
6767 run : |
0 commit comments