generated from ConductionNL/product-website-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ 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 | ||
|
||
# options: "true" | "false" | ||
USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX: "true" | ||
|
||
# Connected Repository | ||
GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }} | ||
GITHUB_REPOSITORY_URL: ${{ github.event.repository.url }} | ||
|
@@ -49,11 +52,12 @@ jobs: | |
repository: ConductionNL/product-website-template | ||
ref: development | ||
|
||
# With special thanxs to https://github.com/SpicyPizza/create-envfile | ||
# With special thanks to https://github.com/SpicyPizza/create-envfile | ||
- name: Make envfile | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_GITHUB_REPOSITORY_NAME: ${{ env.GITHUB_REPOSITORY_NAME }} | ||
envkey_USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX: ${{ env.USE_GITHUB_REPOSITORY_NAME_AS_PATH_PREFIX }} | ||
envkey_GATSBY_GITHUB_API_BASE_URL: ${{ env.GITHUB_API_BASE_URL }} | ||
envkey_GATSBY_FAVICON_URL: ${{ env.FAVICON_URL }} | ||
envkey_GATSBY_NAVBAR_LOGO_URL: ${{ env.NAVBAR_LOGO_URL }} | ||
|