pankajkoti commented on issue #773: URL: https://github.com/apache/airflow-site/issues/773#issuecomment-1527504944
> Since build-site is copying stuff from docs-archive into dist, and we upload dist, can we not just delete docs-archive once we are done building? That'll give us 10gb of extra room without having any negatives or extra complexity? Yes, @jedcunningham. I tried your suggestion and have created a draft [PR](https://github.com/apache/airflow-site/pull/777). I pushed 2 commits to display disk-free CLI command (`df -h`) output after each of the significant steps in our CI job ([bf25b69](https://github.com/apache/airflow-site/pull/777/commits/bf25b69fa3c43c0088c2da7534de6152ac452ba4) with the existing setup just adding a `df -h` and [6bc8ab7](https://github.com/apache/airflow-site/pull/777/commits/6bc8ab718ef1410c5486b1cafdc473e9aa3ce17f) after removing `docs-archive` directory to display `df -h` output). CI job with first commit - https://github.com/apache/airflow-site/actions/runs/4830163412/jobs/8606043658?pr=777 CI job with second commit - https://github.com/apache/airflow-site/actions/runs/4830346989/jobs/8606461864?pr=777 I did a search in the repo and found there is no other reference to `docs-archive` after the site is built, so I believe we're safe to remove it from the CI job for the subsequent steps once the site is built. This step kept before the `Deploy website on asf-site branch` step will ensure (🤞🏽 due to +10GB reclaimed) that CI build will not fail as observed in this step last time due to no disk space available. I am attaching the outputs (both PDF and PNG; you will need to zoom in unfortunately since I did a full-page capture) of the CI job with the 2 commits mentioned above. PDF output: first commit: [before_pdf.pdf](https://github.com/apache/airflow-site/files/11353528/before_pdf.pdf) second commit: [after_pdf.pdf](https://github.com/apache/airflow-site/files/11353526/after_pdf.pdf) PNF Output: first commit:  second commit:  If this solution is accepted, I guess this is a quick win for us for now :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
