File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -26,29 +26,32 @@ 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 :
35- source : ./
36- destination : ./_site
35+ source : ./docs
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.
4040 # Note: this only encrypts .html pages and not any of the corresponding assets.
4141 - name : Encrypt pages with PageCrypt
42+ working-directory : ./docs
4243 run : |
4344 npm i -D pagecrypt
44- cat docs/ _protected_pages.txt | while read file password;
45+ cat _protected_pages.txt | while read file password;
4546 do
46- sudo npx pagecrypt "_site/$file" "_site/$file" "$password"
47+ sudo npx pagecrypt "_site/$file" "/ _site/$file" "$password"
4748 done
4849 # End encryption code.
4950
5051 - name : Upload artifact
5152 uses : actions/upload-pages-artifact@v3
53+ with :
54+ path : ./docs/_site
5255
5356 # Deployment job
5457 deploy :
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments