updated page not found text, added firebase pr deploy

This commit is contained in:
Jordan Violet
2022-09-24 15:39:15 -04:00
parent 02870faa44
commit 483e1433a6
5 changed files with 89 additions and 1 deletions

5
.firebaserc Normal file
View File

@@ -0,0 +1,5 @@
{
"projects": {
"default": "developer-community-site"
}
}

View File

@@ -0,0 +1,16 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEVELOPER_COMMUNITY_SITE }}'
projectId: developer-community-site

57
firebase-debug.log Normal file
View File

@@ -0,0 +1,57 @@
[debug] [2022-09-24T19:36:50.152Z] ----------------------------------------------------------------------
[debug] [2022-09-24T19:36:50.153Z] Command: /usr/local/Cellar/node/18.7.0/bin/node /usr/local/bin/firebase init hosting:github
[debug] [2022-09-24T19:36:50.153Z] CLI Version: 11.10.0
[debug] [2022-09-24T19:36:50.153Z] Platform: darwin
[debug] [2022-09-24T19:36:50.154Z] Node Version: v18.7.0
[debug] [2022-09-24T19:36:50.155Z] Time: Sat Sep 24 2022 15:36:50 GMT-0400 (Eastern Daylight Time)
[debug] [2022-09-24T19:36:50.155Z] ----------------------------------------------------------------------
[debug]
[debug] [2022-09-24T19:36:50.201Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2022-09-24T19:36:50.202Z] > authorizing via signed-in user (jordan.violet@sailpoint.com)
[info]
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
/Users/jordan.violet/sailpoint/developer.sailpoint.com
Before we get started, keep in mind:
* You are initializing within an existing Firebase project directory
[info]
=== Project Setup
[info]
[info] First, let's associate this project directory with a Firebase project.
[info] You can create multiple project aliases by running firebase use --add,
[info] but for now we'll just set up a default project.
[info]
[debug] [2022-09-24T19:36:50.205Z] Using project from CLI flag: developer-community-site
[debug] [2022-09-24T19:36:50.207Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/developer-community-site [none]
[debug] [2022-09-24T19:36:50.376Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/developer-community-site 200
[debug] [2022-09-24T19:36:50.376Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/developer-community-site {"projectId":"developer-community-site","projectNumber":"1069168745748","displayName":"Developer Community Site","name":"projects/developer-community-site","resources":{"hostingSite":"developer-community-site"},"state":"ACTIVE","etag":"1_01a1da44-b528-4fd5-a994-15b4e90461ef"}
[info] i Using project developer-community-site (Developer Community Site)
[info]
=== Hosting:github Setup
[info]
[info] i Detected a .git folder at /Users/jordan.violet/sailpoint/developer.sailpoint.com
[info] i Authorizing with GitHub to upload your service account to a GitHub repository's secrets store.
[info]
[info] Visit this URL on this device to log in:
[info] https://github.com/login/oauth/authorize?client_id=89cf50f02ac6aaed3484&state=65551834&redirect_uri=http%3A%2F%2Flocalhost%3A9005&scope=read%3Auser%20repo%20public_repo
[info]
[info] Waiting for authentication...
[debug] [2022-09-24T19:36:53.137Z] >>> [apiv2][query] POST https://github.com/login/oauth/access_token [none]
[debug] [2022-09-24T19:36:53.137Z] >>> [apiv2][body] POST https://github.com/login/oauth/access_token [stream]
[debug] [2022-09-24T19:36:53.361Z] <<< [apiv2][status] POST https://github.com/login/oauth/access_token 200
[debug] [2022-09-24T19:36:53.361Z] <<< [apiv2][body] POST https://github.com/login/oauth/access_token {"access_token":"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","token_type":"bearer","scope":"read:user,repo"}
[debug] [2022-09-24T19:36:53.364Z] >>> [apiv2][query] GET https://api.github.com/user [none]
[debug] [2022-09-24T19:36:53.589Z] <<< [apiv2][status] GET https://api.github.com/user 200
[debug] [2022-09-24T19:36:53.589Z] <<< [apiv2][body] GET https://api.github.com/user {"login":"jordan-violet-sp","id":69053702,"node_id":"MDQ6VXNlcjY5MDUzNzAy","avatar_url":"https://avatars.githubusercontent.com/u/69053702?v=4","gravatar_id":"","url":"https://api.github.com/users/jordan-violet-sp","html_url":"https://github.com/jordan-violet-sp","followers_url":"https://api.github.com/users/jordan-violet-sp/followers","following_url":"https://api.github.com/users/jordan-violet-sp/following{/other_user}","gists_url":"https://api.github.com/users/jordan-violet-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/jordan-violet-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordan-violet-sp/subscriptions","organizations_url":"https://api.github.com/users/jordan-violet-sp/orgs","repos_url":"https://api.github.com/users/jordan-violet-sp/repos","events_url":"https://api.github.com/users/jordan-violet-sp/events{/privacy}","received_events_url":"https://api.github.com/users/jordan-violet-sp/received_events","type":"User","site_admin":false,"name":"Jordan Violet","company":"SailPoint","blog":"developer.sailpoint.com","location":"Cleveland, OH","email":null,"hireable":null,"bio":"Head of Developer Relations for SailPoint.","twitter_username":null,"public_repos":9,"public_gists":0,"followers":1,"following":0,"created_at":"2020-07-31T17:58:52Z","updated_at":"2022-09-22T20:15:14Z","private_gists":1,"total_private_repos":0,"owned_private_repos":0,"disk_usage":6,"collaborators":0,"two_factor_authentication":true,"plan":{"name":"free","space":976562499,"collaborators":0,"private_repos":10000}}
[info]
[info] ✔ Success! Logged into GitHub as jordan-violet-sp
[info]

10
firebase.json Normal file
View File

@@ -0,0 +1,10 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}

View File

@@ -19,7 +19,7 @@ export default function NotFound() {
Page Not Found
</h1>
<p>
Our docs and API specifications have recently movedcheckout the navbar at the top of this page to find their new home. If this document still doesn't exist, and you think it should, <a href="https://developer.sailpoint.com/discuss/docs-request" target="_blank" rel="noopener noreferrer">let us know</a>.
Our docs and API specifications have recently movedcheckout the navbar at the top of this page to find their new home. If you can't find the document you're looking for, <a href="https://developer.sailpoint.com/discuss/docs-request" target="_blank" rel="noopener noreferrer">let us know</a>.
</p>
<img height="60%" src="img/not-found/codey.png"/>
</div>