Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development to main, week 5 #121

Merged
merged 34 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fb7d517
added security.txt
remko48 Jan 31, 2024
c77ad02
Merge pull request #112 from ConductionNL/feature/add-security.txt
remko48 Jan 31, 2024
4dc3ab8
test
remko48 Jan 31, 2024
cc98a71
Merge pull request #113 from ConductionNL/feature/GW-1629/product-action
remko48 Jan 31, 2024
3d61f4e
quickfix
remko48 Jan 31, 2024
17a3134
Merge branch 'development' into feature/GW-1629/product-action
remko48 Jan 31, 2024
4f58905
updated product-page-action
remko48 Jan 31, 2024
5f1bdfb
Merge pull request #114 from ConductionNL/feature/GW-1629/product-action
remko48 Jan 31, 2024
4113ffb
updated for product-page-action:v1.0.9
remko48 Jan 31, 2024
841ad87
cleanup
remko48 Jan 31, 2024
0496762
Merge branch 'development' into feature/GW-1629/product-action
remko48 Jan 31, 2024
18f6b7a
Update footer css
remko48 Jan 31, 2024
9ecdc41
updated product-page-deploy
remko48 Jan 31, 2024
8ddcb82
Updated packages
remko48 Jan 31, 2024
07ecd65
added sloterburg theme and added better padding
remko48 Feb 1, 2024
b4a99ff
cleanup
remko48 Feb 1, 2024
27b5355
Merge pull request #115 from ConductionNL/feature/GW-1629/product-action
remko48 Feb 1, 2024
e72fabc
added slack url
remko48 Feb 1, 2024
481ad23
Merge branch 'development' into feature/GW-1629/product-action
remko48 Feb 1, 2024
7ade7c4
Merge pull request #116 from ConductionNL/feature/GW-1629/product-action
remko48 Feb 1, 2024
1348ee3
Merge remote-tracking branch 'origin/development' into feature/GW-162…
remko48 Feb 1, 2024
9bdaaf4
removed /pages prefix
remko48 Feb 1, 2024
4d6487c
cleanup
remko48 Feb 1, 2024
70a1976
Merge pull request #117 from ConductionNL/feature/GW-1629/product-action
remko48 Feb 1, 2024
80a43e0
Prefix fix
remko48 Feb 1, 2024
4beb1d9
Merge pull request #119 from ConductionNL/feature/GW-1629/product-action
remko48 Feb 1, 2024
3ef31d2
Footer fix
remko48 Feb 1, 2024
957a2a4
Merge branch 'development' into feature/GW-1629/product-action
remko48 Feb 1, 2024
5468249
Merge pull request #120 from ConductionNL/feature/GW-1629/product-action
remko48 Feb 1, 2024
49a84f4
updated package.lock
remko48 Feb 1, 2024
9f716c8
Merge branch 'main' into development
remko48 Feb 1, 2024
8790d7c
Added redocly-icon
remko48 Feb 2, 2024
a0c285f
Merge branch 'development' into feature/redocly-icon
remko48 Feb 2, 2024
f56481d
Merge pull request #122 from ConductionNL/feature/redocly-icon
remko48 Feb 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 24 additions & 96 deletions .github/workflows/product-page-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,109 +1,37 @@
name: Deploy the Product Page to GitHub Pages

env: # Change these to your preferences any image url can also be a base encoded image
GITHUB_PAGES_BRANCH: gh-pages

# Connected Repository
GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }}
# options: "true" | "false"
USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX: "true"
GITHUB_REPOSITORY_URL: ${{ github.event.repository.url }}
GITHUB_API_BASE_URL: https://api.github.com/repos/${{ github.repository }}/contents
GITHUB_DOCS_DIRECTORY_PATHS: '[{"name": "Features", "location": "/docs/features"}, {"name": "Roadmap", "location": "/docs/roadmap"}, {"name": "Usecases", "location": "/docs/usecases"}]'

# Links
SLACK_URL: "https://join.slack.com/t/conductionworkspace/shared_invite/zt-1y5kerime-amWEvljvnLvo5S3YfU_jzg"
READ_THE_DOCS_URL: "https://commongateway.readthedocs.io/en/latest/"

# Navbar
NAVBAR_LOGO_URL: "https://conduction.nl/wp-content/uploads/2021/07/cropped-conductionlogo-1.png"

# Header
HEADER_CONTENT: "https://raw.githubusercontent.com/ConductionNL/product-website-template/main/pwa/src/templates/templateParts/header/HeaderContent.json"

# Footer
# options: "true" | "false"
FOOTER_LOGO: "true"
FOOTER_LOGO_HREF: "https://conduction.nl"
FOOTER_CONTENT: "https://raw.githubusercontent.com/ConductionNL/product-website-template/main/pwa/src/templates/templateParts/footer/FooterContent.json"

# Jumbotron
JUMBOTRON_TITLE: "Product Website Template"
JUMBOTRON_SUBTITLE: "Product page"
JUMBOTRON_DESCRIPTION: ${{ github.event.repository.description }}
JUMBOTRON_SVG: "https://www.conduction.nl/wp-content/uploads/2021/07/cropped-Conduction_HOME_0000_afb1-1.png"

# Other
FAVICON_URL: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICAgICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgd2lkdGg9IjcxLjAwMDAwMHB0IiBoZWlnaHQ9IjcwLjAwMDAwMHB0IiB2aWV3Qm94PSIwIDAgNzEuMDAwMDAwIDcwLjAwMDAwMCIKICAgICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij4KCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCw3MC4wMDAwMDApIHNjYWxlKDAuMTAwMDAwLC0wLjEwMDAwMCkiCiAgICAgICBmaWxsPSIjNDM3NkZDIiBzdHJva2U9Im5vbmUiPgogICAgICAgIDxwYXRoIGQ9Ik0yMTggNTkyIGwtMTM3IC03NyAwIC0xNjUgMCAtMTY1IDEzMSAtNzQgYzcyIC00MSAxMzcgLTc0IDE0MyAtNzQgNgowIDcwIDMzIDE0MyA3NCBsMTMxIDc0IDEgMTY1IDAgMTY1IC02OCAzNyBjLTM3IDIxIC05OSA1NiAtMTM3IDc3IGwtNzEgNDAKLTEzNiAtNzd6IG0yOTUgLTg1IGw1NyAtMzIgMCAtMTI1IDAgLTEyNSAtMTA2IC02MCBjLTU4IC0zMyAtMTA4IC02MCAtMTExCi01OSAtMyAwIC01MiAyNyAtMTA5IDYwIGwtMTAzIDU5IDAgMTI1IDAgMTI1IDEwNyA2MSAxMDcgNjIgNTAgLTI5IGMyNyAtMTYKNzYgLTQ0IDEwOCAtNjJ6Ii8+CiAgICAgICAgPHBhdGggZD0iTTI3OCA0NzIgbC02OCAtMzcgMCAtODUgMCAtODUgNzMgLTM5IDczIC0zOSA2MiAzNCBjMzQgMTggNjIgMzcgNjIKNDEgMCA0IC0xNCAxNSAtMzEgMjMgLTI4IDE1IC0zMyAxNSAtNTQgMSAtMzEgLTIwIC00NiAtMjAgLTg0IDIgLTI3IDE1IC0zMQoyMiAtMzEgNjIgMCA0MCA0IDQ3IDMxIDYzIDM4IDIxIDUzIDIxIDg0IDEgMjEgLTE0IDI2IC0xNCA1NCAxIDE3IDggMzEgMTkgMzEKMjMgMCA4IC0xMTMgNzIgLTEyNiA3MiAtNSAwIC0zOSAtMTcgLTc2IC0zOHoiLz4KICAgIDwvZz4KPC9zdmc+Cg=="
PAGE_TITLE: "Common Gateway"

# NL Design Theme
NL_DESIGN_THEME_CLASSNAME: "conduction-theme"

on:
push:
branches:
- main
- development

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Get the Product Website Template Code
uses: actions/checkout@v2
with:
repository: ConductionNL/product-website-template
ref: development

# With special thanks to https://github.com/SpicyPizza/create-envfile
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_GATSBY_GITHUB_REPOSITORY_NAME: ${{ env.GITHUB_REPOSITORY_NAME }}
envkey_GATSBY_USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX: ${{ env.USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX }}
envkey_GATSBY_GITHUB_REPOSITORY_URL: ${{ env.GITHUB_REPOSITORY_URL }}
envkey_GATSBY_GITHUB_API_BASE_URL: ${{ env.GITHUB_API_BASE_URL }}
envkey_GATSBY_GITHUB_DOCS_DIRECTORY_PATHS: ${{ env.GITHUB_DOCS_DIRECTORY_PATHS }}
envkey_GATSBY_READ_THE_DOCS_URL: ${{ env.READ_THE_DOCS_URL }}
envkey_GATSBY_SLACK_URL: ${{ env.SLACK_URL }}
envkey_GATSBY_NAVBAR_LOGO_URL: ${{ env.NAVBAR_LOGO_URL }}
envkey_GATSBY_HEADER_CONTENT: ${{ env.HEADER_CONTENT }}
envkey_GATSBY_FOOTER_LOGO: ${{ env.FOOTER_LOGO }}
envkey_GATSBY_FOOTER_LOGO_HREF: ${{ env.FOOTER_LOGO_HREF }}
envkey_GATSBY_FOOTER_CONTENT: ${{ env.FOOTER_CONTENT }}
envkey_GATSBY_JUMBOTRON_TITLE: ${{ env.JUMBOTRON_TITLE }}
envkey_GATSBY_JUMBOTRON_SUBTITLE: ${{ env.JUMBOTRON_SUBTITLE }}
envkey_GATSBY_JUMBOTRON_DESCRIPTION: ${{ env.JUMBOTRON_DESCRIPTION }}
envkey_GATSBY_JUMBOTRON_SVG: ${{ env.JUMBOTRON_SVG }}
envkey_GATSBY_FAVICON_URL: ${{ env.FAVICON_URL }}
envkey_GATSBY_PAGE_TITLE: ${{ env.PAGE_TITLE }}
envkey_GATSBY_NL_DESIGN_THEME_CLASSNAME: ${{ env.NL_DESIGN_THEME_CLASSNAME }}
directory: pwa/static
file_name: .env.production
fail_on_empty: true
sort_keys: false

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install dependencies
run: cd pwa && npm install

- name: Install parcel/watcher
run: cd pwa && npm install @parcel/watcher

- name: Remove old Gatsby cache
run: rm -rf pwa/.cache

- name: Build application
run: cd pwa && npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
- name: Create the Product Page
uses: OpenCatalogi/[email protected]
with:
branch: ${{ env.GITHUB_PAGES_BRANCH }}
folder: pwa/public
github_repository_name_as_prefix: true
github_repository_url: https://github.com/ConductionNL/product-website-template
github_api_base_url: https://api.github.com/repos/ConductionNL/product-website-template/contents
github_docs_directory_paths: '[{"name": "Features", "location": "/docs/features"}, {"name": "Roadmap", "location": "/docs/roadmap"}, {"name": "Usecases", "location": "/docs/usecases"}]'
slack_url: "false"
read_the_docs_url: "false"
navbar_content: "https://raw.githubusercontent.com/ConductionNL/product-website-template/main/pwa/src/templates/templateParts/header/HeaderContent.json"
footer_show_logo: true
footer_logo_href: https://conduction.nl
footer_content: "https://raw.githubusercontent.com/ConductionNL/product-website-template/main/pwa/src/templates/templateParts/footer/FooterContent.json"
footer_content_header: "heading-3"
jumbotron_title: "Product Website Template"
jumbotron_subtitle: "Product page"
jumbotron_description: "Conduction's Product Website Template: a quick, customizable solution for creating dedicated product pages from repository contents, ideal for open-source projects."
jumbotron_image: "https://www.conduction.nl/wp-content/uploads/2021/07/cropped-Conduction_HOME_0000_afb1-1.png"
favicon_image: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICAgICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgd2lkdGg9IjcxLjAwMDAwMHB0IiBoZWlnaHQ9IjcwLjAwMDAwMHB0IiB2aWV3Qm94PSIwIDAgNzEuMDAwMDAwIDcwLjAw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
page_title: "Product Website Template"
nl_design_theme_classname: "conduction-theme"
pull_from_branche: "development"
6 changes: 6 additions & 0 deletions .github/workflows/pull-request-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
- name: Parcel/watcher
run: npm i @parcel/watcher

- name: Sass
run: npm i sass

- name: Style Dictionary
run: npm i style-dictionary

- name: Install dependencies
run: cd pwa && npm i

Expand Down
Loading
Loading