-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aaron Crawfis <[email protected]>
- Loading branch information
1 parent
e98d0b1
commit 56fa763
Showing
3 changed files
with
61 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Radius Redirect | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- edge | ||
- v*.* | ||
paths: | ||
- 'redirect/**' | ||
- '.github/workflows/redirect.yml' | ||
pull_request: | ||
branches: | ||
- edge | ||
- v*.* | ||
paths: | ||
- 'redirect/**' | ||
- '.github/workflows/redirect.yml' | ||
|
||
jobs: | ||
deploy-website: | ||
name: Deploy Redirect Website | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: false | ||
- name: Deploy staging site | ||
uses: Azure/static-web-apps-deploy@v1 | ||
with: | ||
azure_static_web_apps_api_token: ${{ secrets.SWA_REDIRECT_TOKEN }} | ||
action: "upload" | ||
app_location: "redirect/src" | ||
skip_api_build: true | ||
skip_app_build: true | ||
|
||
close_pr_site: | ||
name: Close PR Staging Site | ||
if: github.event_name == 'pull_request' && github.event.action == 'closed' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close Pull Request | ||
id: closepullrequest | ||
uses: Azure/static-web-apps-deploy@v1 | ||
with: | ||
azure_static_web_apps_api_token: ${{ secrets.SWA_REDIRECT_TOKEN }} | ||
action: "close" |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Redirect Page | ||
|
||
Our current domain, `radapp.io`, is the homepage for Radius. We previously operated on `radapp.dev` and may still have some remaining links to that domain. This directory contains a redirect page that we host on `radapp.dev` to redirect to `radapp.io`. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Redirecting to https://radapp.io</title> | ||
<meta http-equiv="refresh" content="0; URL=https://radapp.io"> | ||
</head> | ||
<body> | ||
<p>Please wait while you are redirected to https://radapp.io</p> | ||
</body> | ||
</html> |