Skip to content

Commit

Permalink
github publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed May 22, 2024
1 parent b71ee25 commit 65f3fc5
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dhsi/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
2. [Publishing Manifests](day-two/publishing-manifests.md)
1. [Local server](day-two/visual_studio_setup/README.md)
2. [Workbench](day-two/workbench/README.md)
3. [GitHub]()
3. [GitHub](day-two/github-publishing.md)


## Tuesday Session 6: 2:30pm-3:45pm
Expand Down
19 changes: 19 additions & 0 deletions dhsi/day-two/github-publishing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Publishing via GitHub pages
Maybe you want to publish multiple files without having to go through the workbench UI. This section will illustrate how to do this for any project you might have.

1. Go to your dhsi-iiif-2024 folder
2. Add your manifests in any structure you would like.
3. Send these files to github.
4. `git add .`
5. `git commit -m "add manifest files"`
6. `git push origin main`
7. In the browser go to your fork
8. Click on the settings tab
![](imgs/1-github-publishing.png)
9. Click on the pages panel from the sidebar
![](imgs/2-github-publishing.png)
10. Underneath the branch section click on the dropdown and choose main.
![](imgs/3-github-publishing.png)
11. Click the save button
![](imgs/4-github-publishing.png)
12. It will take about a minute for your site to build. After it has built, the content will be visible at `[github_username].github.io/[repository_name]`. If you follow the folder path your manifest you should be able to view it in the browser. `[github_username].github.io/[repository_name]/path/to/file/filename.json`
Binary file added dhsi/day-two/imgs/1-github-publishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dhsi/day-two/imgs/2-github-publishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dhsi/day-two/imgs/3-github-publishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dhsi/day-two/imgs/4-github-publishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dhsi/day-two/publishing-manifests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
placeholder

0 comments on commit 65f3fc5

Please sign in to comment.