Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Build static assets for production #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tdgroot
Copy link
Contributor

@tdgroot tdgroot commented Jan 26, 2023

CSS and JS files weren't being minimized and we also didn't make sure yet that the CSS files were up to date with the SCSS files.

@vdloo
Copy link
Member

vdloo commented Jan 26, 2023

task assets:compile
  [build] run npx gulp buildProd
  [build] [16:00:28]
  [build] Using gulpfile /__w/hypernode-docs-next/hypernode-docs-next/gulpfile.js
  [build] [16:00:28] Starting 'buildProd'...
  [build] [16:00:28] Starting 'cssCompile'...
  [build] [16:00:28]
  [build] 'cssCompile' errored after 112 ms
  [build] [16:00:28] Error: EACCES: permission denied, open '/__w/hypernode-docs-next/hypernode-docs-next/docs/_static/css/breakpoints.css'
  [build] [16:00:28] 'buildProd' errored after 115 ms
  [build]  error  in deploy.php on line 54:
  [build] exit code 1 (General error)

@tdgroot tdgroot force-pushed the assets_build_pipeline branch 2 times, most recently from 003f4be to 7a66e17 Compare January 26, 2023 16:10
@vdloo
Copy link
Member

vdloo commented Jan 26, 2023

task assets:compile
  [build] run ls -l ./docs/_static/css
  [build] total 48
  [build] -rw-r--r-- 1 root root    46 Jan 26 16:10 breakpoints.css
  [build] -rw-r--r-- 1 root root   765 Jan 26 16:10 colors.css
  [build] -rw-r--r-- 1 root root 16463 Jan 26 16:10 general.css
  [build] -rw-r--r-- 1 root root 17186 Jan 26 16:10 main.css
  [build] run whoami
  [build] root
  [build] run npx gulp buildProd
  [build] [16:11:17]
  [build] Using gulpfile /__w/hypernode-docs-next/hypernode-docs-next/gulpfile.js
  [build] [16:11:17] Starting 'buildProd'...
  [build] [16:11:17]
  [build] Starting 'cssCompile'...
  [build] [16:11:17] 'cssCompile' errored after 87 ms
  [build] [16:11:17] Error: EACCES: permission denied, open '/__w/hypernode-docs-next/hypernode-docs-next/docs/_static/css/breakpoints.css'
  [build] [16:11:17]
  [build] 'buildProd' errored after 90 ms
  [build]  error  in deploy.php on line 56:
  [build] exit code 1 (General error)

@tdgroot tdgroot force-pushed the assets_build_pipeline branch 2 times, most recently from 871354f to 8160990 Compare January 27, 2023 10:40
@tdgroot tdgroot force-pushed the assets_build_pipeline branch from 8160990 to c72b5fb Compare January 27, 2023 10:42
@vdloo
Copy link
Member

vdloo commented Jan 27, 2023

task assets:compile
  [build] run ls -l ./docs/_static/css
  [build] total 48
  [build] -rw-r--r-- 1 root root    46 Jan 27 10:42 breakpoints.css
  [build] -rw-r--r-- 1 root root   765 Jan 27 10:42 colors.css
  [build] -rw-r--r-- 1 root root 16463 Jan 27 10:42 general.css
  [build] -rw-r--r-- 1 root root 17186 Jan 27 10:42 main.css
  [build] run whoami
  [build] root
  [build] run chmod -R 755 docs/_static
  [build] run npx gulp buildProd
  [build] [10:43:07]
  [build] Using gulpfile /__w/hypernode-docs-next/hypernode-docs-next/gulpfile.js
  [build] [10:43:07] Starting 'buildProd'...
  [build] [10:43:07]
  [build] Starting 'cssCompile'...
  [build] [10:43:07]
  [build] 'cssCompile' errored after 71 ms
  [build] [10:43:07]
  [build] Error: EACCES: permission denied, open '/__w/hypernode-docs-next/hypernode-docs-next/docs/_static/css/breakpoints.css'
  [build] [10:43:07] 'buildProd' errored after 74 ms
  [build]  error  in deploy.php on line 57:
  [build] exit code 1 (General error)
  Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants