Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update placeholder-home.mdx #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
name: Test Build
runs-on: ubuntu-latest
permissions:
checks: write
checks: write # Create checks for commits
pull-requests: write # Add comments to PRs
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -52,3 +53,23 @@ jobs:
conclusion: neutral
output: |
{"title":"${{ steps.determineSize.outputs.SIZE }} (of 5M)","summary":"${{ steps.determineSize.outputs.SIZE }} (of 5M)"}

- name: Upload to netlify (if a PR build)
if: github.event_name == 'pull_request'
uses: nwtgck/[email protected]
with:
publish-dir: ./public
production-deploy: false
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: ${{ github.event.pull_request.title }})
enable-pull-request-comment: true
enable-commit-comment: false
enable-commit-status: true
overwrites-pull-request-comment: true
# replicate deploy preview prefix
alias: deploy-preview-${{ github.event.pull_request.number }}
enable-github-deployment: false # seems to not be a valid option? (not in schema?)
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"gatsby-source-filesystem": "^5.11.0",
"gatsby-transformer-sharp": "^5.11.0",
"gatsby-transformer-yaml": "^5.11.0",
"prettier": "^3.0.0",
"prettier": "^3.0.1",
"typescript": "^5.1.6",
"webpack-stats-plugin": "^1.1.3"
}
Expand Down
2 changes: 2 additions & 0 deletions pages/mdx/placeholder-home.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ description: Introduction to Project GENOSWITCH.
slug: /
---

Netlify Test 3.

Welcome to the genoswitch wiki! The home page is work-in-progress at the moment, but feel free to check out the other pages on the navbar!