Setting up custom domain with SAML Authentication #311
-
Hi, I have a vague question to check the potential for running Retype. I am looking to setup my GitHub/Retype Repo under a custom domain. Also, I need to add a SAML Authentication layer (Azure). I don't have experience with it, but plan to follow instructions such as:
Do you foresee any issues that would be encountered as a result of having SAML? For example, the GitHub repo couldn't update the website because it is behind a layer of authentication that it can't access (I imagine this is a fairly ignorant question - I apologise). [Edit: Since this is a vague question, vague answers are appropriate.] If you have any websites, articles or key words that would be useful in this endeavour, it would be greatly appreciated. As always, thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
I don't think this kind of architecture is possible if you're hosting with GitHub Pages. I could be very wrong though. I've never been involved in this kind of configuration with Azure. If you're hosting the site on a solution provided by Azure, it should certainly be possible. Let me discuss this with the others on the team and we'll try and work out some suggestions. |
Beta Was this translation helpful? Give feedback.
-
I thought explicitly adding the file to the project Within your include:
- .github/workflows/azure-static-web-apps-*.yml I'm going to consider this a defect and we're going to try and fix right away. There should be a way to work-around the issue by adding some file copy logic into the |
Beta Was this translation helpful? Give feedback.
-
Okay, I will have a look and try change this.
Can I ask a question that is somewhat related:
In GitHub Pages > Step 2: Configure GitHub Pages<https://retype.com/hosting/github-pages/#:~:text=By%20default%2C%20the%20Retype%20Action%20will%20publish%20your%20website%20to%20a%20retype%20branch%2C%20although%20you%20can%20configure%20to%20host%20from%20any%20branch.>, you say “By default, the Retype Action will publish your website to a retype branch, although you can configure to host from any branch.”
If we want to change the default branch, do we change the ./retype.yml “output: .retype” code<https://retype.com/samples/advanced-project-config/#:~:text=See%20also%3A%20output%0A%0A%23%20%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D%2D-,output%3A%20.retype,-%23%20Custom%20path%20to>?
Thank you for your help.
From: Geoffrey McGill ***@***.***>
Sent: Thursday, March 31, 2022 5:24 PM
To: retypeapp/retype ***@***.***>
Cc: Joel Taylor ***@***.***>; Author ***@***.***>
Subject: Re: [retypeapp/retype] Setting up custom domain with SAML Authentication (Discussion #311)
In your Azure workflow file, is it configured to watch the retype branch?
Maybe the following would be required, instead of main.
on:
push:
branches:
- retype
I'm kinda shooting in the dark with that idea, but it does look like it's a pathing issue. The deployment is not finding the root index.html file. My first guess would be that is monitoring the wrong repo branch.
Hope this helps.
—
Reply to this email directly, view it on GitHub<#311 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXLCFGOFFVUSY5DXHFWSWL3VCYQZNANCNFSM5SD2ZRAQ>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
Hi. If you would like the Retype GitHub Action to publish to a different branch name, you can configure the following - uses: retypeapp/action-github-pages@latest
with:
branch: retype #<--- change this branch name
update-branch: true Hope this helps. |
Beta Was this translation helpful? Give feedback.
I thought explicitly adding the file to the project
include
configuration would have worked, but it does not. It appears Retype is just completely ignoring.yml
files, even if it's explicitly configured to include.Within your
retype.yml
project file, I was expecting the following to work:I'm going to consider this a defect and we're going to try and fix right away.
There should be a way to work-around the issue by adding some file copy logic into the
retype-action.yml
file. We'll try and work this out on Monday and get back to you with a solution right away.