Skip to content

Commit

Permalink
Fix for the opencatalogi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Oct 23, 2023
1 parent 928fe98 commit 47757e7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,29 @@ permissions:
|-----------------|--------------------------------------------------------------------------|
| `page` | A zip of the build page |

## Tips
Besides making creating a frontend for your catalogue its also a goed idea to define how your organisation uses open source. Luckily this is verey easilly don by adding the publiccode action to your workflow

````yaml
name: My PublicCode Workflow

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy Product Github Page
uses: OpenCatalogi/productpage-action@1
- name: Update opencatalogi.yaml
uses: OpenCatalogi/publiccode-action@1
````

[Read more](https://github.com/marketplace/actions/create-or-update-publiccode-yaml) about the publiccode action that also creates the opencatalogi.yaml

## Special thanxs
As is the case with most software this action is based on the work of others, and uses there code. We would like to give a special shout out to the following parties and thier code

Expand All @@ -88,7 +111,7 @@ As is the case with most software this action is based on the work of others, an
This software is maintained by [Conduction b.v.](https://conduction.nl/)

## License
© 2023 Gemeente Rotterdam
© 2023 Conduction B.V.

Licensed under the EUPL. The version control system provides attribution for specific lines of code.

Expand Down
20 changes: 20 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ inputs:
description: 'An base64 encoded svg file or url to the logo used in the main menu'
required: false
default: 'https://openwebconcept.nl/wp-content/themes/openwebconcept/assets/src/images/logo@2x.png'
contact_tel:
description: 'A phone number where your organisation is reachable'
required: false
default: '012-3456789'
contact_email:
description: 'A phone number where your organisation is reachable'
required: false
default: 'info@openwebconcept.nl'
contact_website:
description: 'A phone number where your organisation is reachable'
required: false
default: 'https://openwebconcept.nl'
contact_adres:
description: 'A phone number where your organisation is reachable'
required: false
default: 'Dorpsplein 1, 1000 AA Zuid-drecht'
gitname:
description: 'Git name configuration for bump commit'
required: false
Expand Down Expand Up @@ -97,6 +113,10 @@ runs:
envkey_GATSBY_NL_DESIGN_THEME_CLASSNAME: ${{ inputs.nl_design_theme_classname }}
envkey_GATSBY_ARROW_BREADCRUMBS: ${{ inputs.arrow_breadcrumbs }}
envkey_GATSBY_HEADER_LOGO_URL: ${{ inputs.navbar_logo }}
envkey_GATSBY_CONTACT_TEL: ${{ inputs.contact_tel }}
envkey_GATSBY_CONTACT_EMAIL: ${{ inputs.contact_email }}
envkey_GATSBY_CONTACT_WEBSITE: ${{ inputs.contact_website }}
envkey_GATSBY_CONTACT_ADRES: ${{ inputs.contact_adres }}

# envkey_GATSBY_GITHUB_ORGANIZATION_URL: ${{ env.GITHUB_ORGANIZATION_URL }}
directory: pwa/static
Expand Down

0 comments on commit 47757e7

Please sign in to comment.