Skip to content

Commit 6f7db4e

Browse files
committed
fixing paths
1 parent d1b3f5f commit 6f7db4e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/pages-with-encryption.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
30-
- name: Setup Pages
31-
uses: actions/configure-pages@v3
29+
uses: actions/checkout@v4
30+
# - name: Setup Pages
31+
# uses: actions/configure-pages@v3
3232
- name: Build with Jekyll
3333
uses: actions/jekyll-build-pages@v1
3434
with:
3535
source: ./docs
36-
destination: ./_site
36+
destination: ./docs/_site
3737

3838
# Begin encryption code.
3939
# This portion of the build job was written by Evan Baldonado (EvanBaldonado.com). Please do not remove this comment.
@@ -43,7 +43,7 @@ jobs:
4343
npm i -D pagecrypt
4444
cat docs/_protected_pages.txt | while read file password;
4545
do
46-
sudo npx pagecrypt "_site/$file" "_site/$file" "$password"
46+
sudo npx pagecrypt "/docs/_site/$file" "/docs/_site/$file" "$password"
4747
done
4848
# End encryption code.
4949

docs/_protected_pages.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
docs/flylab/flylab.html flylab
2-
docs/flylab/calibration.html flylab
3-
docs/flylab/faqs.html flylab
4-
docs/flylab/object.html flylab
1+
flylab/flylab.html flylab
2+
flylab/calibration.html flylab
3+
flylab/faqs.html flylab
4+
flylab/object.html flylab

0 commit comments

Comments
 (0)