diff --git a/.github/workflows/delete-pages.yml b/.github/workflows/delete-pages.yml index 80cffcfa..ff19f1ce 100644 --- a/.github/workflows/delete-pages.yml +++ b/.github/workflows/delete-pages.yml @@ -1,3 +1,12 @@ +# +# ⚠️ ⚠️ ⚠️ WARNING ⚠️ ⚠️ ⚠️ +# +# Updating this file in the main branch will do nothing! +# +# It is only run on the gh-pages branch. +# Any changes _must_ be merged to gh-pages to take effect. +# + name: Delete old folders from GitHub Pages on: diff --git a/removeOldFolders.js b/removeOldFolders.js index 57eb0329..f15074b1 100644 --- a/removeOldFolders.js +++ b/removeOldFolders.js @@ -1,3 +1,13 @@ +/* + * ⚠️ ⚠️ ⚠️ WARNING ⚠️ ⚠️ ⚠️ + * + * Updating this file in the main branch will do nothing! + * + * It is only invoked by the delete-pages.yml github action, + * which is only run on the gh-pages branch. + * Any changes _must_ be merged to gh-pages to take effect. + */ + /* eslint-disable no-console */ import { parseArgs } from "node:util"; import * as fs from "node:fs";