We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 305d8ef commit d6da074Copy full SHA for d6da074
.github/workflows/pages-with-encryption.yml
@@ -39,11 +39,12 @@ jobs:
39
# This portion of the build job was written by Evan Baldonado (EvanBaldonado.com). Please do not remove this comment.
40
# Note: this only encrypts .html pages and not any of the corresponding assets.
41
- name: Encrypt pages with PageCrypt
42
+ working-directory: ./docs
43
run: |
44
npm i -D pagecrypt
- cat docs/_protected_pages.txt | while read file password;
45
+ cat _protected_pages.txt | while read file password;
46
do
- sudo npx pagecrypt "/github/workspace/docs/_site/$file" "/github/workspace/docs/_site/$file" "$password"
47
+ sudo npx pagecrypt "_site/$file" "/_site/$file" "$password"
48
done
49
# End encryption code.
50
0 commit comments