Skip to content

Commit

Permalink
Update action-deploy-theme to use sredevopsdev
Browse files Browse the repository at this point in the history
repository and add error-404.hbs template
  • Loading branch information
ngeorger committed Nov 16, 2023
1 parent a49e886 commit f3263da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Checkout Repository

- name: Deploy Ghost Theme to website
uses: TryGhost/action-deploy-theme@v1
uses: sredevopsdev/action-deploy-theme@main
continue-on-error: true
with:
api-url: ${{ secrets.SREDEVOPS_API_URL }}
Expand Down
12 changes: 12 additions & 0 deletions error-404.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{!< default}}
{{!-- The tag above means: insert everything in this file into the body of the default.hbs template --}}

{{> "components/header" headerStyle=@custom.header_style}}

{{#match @custom.header_style "!=" "Highlight"}}
{{> "components/featured" showFeatured=@custom.show_featured_posts limit=4}}
{{/match}}

{{> "components/cta"}}

{{> "components/post-list" feed="home" postFeedStyle=@custom.post_feed_style showTitle=true showSidebar=@custom.show_publication_info_sidebar}}

0 comments on commit f3263da

Please sign in to comment.