Skip to content

Commit

Permalink
feat: update new org references (#61)
Browse files Browse the repository at this point in the history
* feat: update docusuarus config with new github org

* feat: update agoralabs references to use kibis github org and repos

* ci: update release workflow to use kibisis user

* ci: update deploy workflow to use github token and github's actions
  • Loading branch information
kieranroneill authored Oct 16, 2024
1 parent ede8f0a commit 125e366
Show file tree
Hide file tree
Showing 9 changed files with 117 additions and 103 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- name: "🔧 Setup"
uses: ./.github/actions/use-dependencies

deploy:
name: "Deploy"

build:
name: "Build"
needs: install
runs-on: ubuntu-latest
steps:
Expand All @@ -25,12 +26,22 @@ jobs:
uses: ./.github/actions/use-dependencies
- name: "🏗️ Build"
run: yarn build
- name: "🚀 Deploy"
uses: peaceiris/actions-gh-pages@v3
- name: "📤 Upload artifact"
uses: actions/upload-pages-artifact@v3
with:
force_orphan: true # create empty branch if missing
personal_token: ${{ secrets.WRITE_REPOS_TOKEN }}
publish_branch: gh-pages
publish_dir: ./build
user_name: agoralabs-bot
user_email: [email protected]
path: ./build

deploy:
name: "Deploy"
needs: [install, build]
permissions:
pages: write # to deploy to pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: "🚀 Deploy"
id: deployment
uses: actions/deploy-pages@v4
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
release:
name: "Release"
permissions:
contents: write # to be able to publish a github release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
Expand All @@ -22,10 +26,10 @@ jobs:
- name: "🔖 Release"
env:
# appears on the release commits
GIT_AUTHOR_NAME: agoralabs-bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: agoralabs-bot
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_NAME: kibi-bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: kibi-bot
GIT_COMMITTER_EMAIL: [email protected]
# used to push the release commit and create the tags
GITHUB_TOKEN: ${{ secrets.WRITE_REPOS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: semantic-release
130 changes: 65 additions & 65 deletions CHANGELOG.md

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
</p>

<p align="center">
<a href="https://github.com/agoralabs-sh/kibisis-website/releases/latest">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/agoralabs-sh/kibisis-website?&logo=github">
<a href="https://github.com/kibis-is/website/releases/latest">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/kibis-is/website?&logo=github">
</a>
<a href="https://github.com/agoralabs-sh/kibisis-website/releases/latest">
<img alt="GitHub Release Date - Published At" src="https://img.shields.io/github/release-date/agoralabs-sh/kibisis-website?logo=github">
<a href="https://github.com/kibis-is/website/releases/latest">
<img alt="GitHub Release Date - Published At" src="https://img.shields.io/github/release-date/kibis-is/website?logo=github">
</a>
<a href="https://github.com/agoralabs-sh/kibisis-website/actions/workflows/deploy.yml">
<img alt="GitHub Actions Deploy Workflow Status" src="https://img.shields.io/github/actions/workflow/status/agoralabs-sh/kibisis-website/deploy.yml?label=deploy" />
<a href="https://github.com/kibis-is/website/actions/workflows/deploy.yml">
<img alt="GitHub Actions Deploy Workflow Status" src="https://img.shields.io/github/actions/workflow/status/kibis-is/website/deploy.yml?label=deploy" />
</a>
</p>

<p align="center">
<a href="https://github.com/agoralabs-sh/kibisis-website/blob/main/LICENSE">
<img alt="GitHub License" src="https://img.shields.io/github/license/agoralabs-sh/kibisis-website">
<a href="https://github.com/kibis-is/website/blob/main/LICENSE">
<img alt="GitHub License" src="https://img.shields.io/github/license/kibis-is/website">
</a>
</p>

Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/manual-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you want to avoid the browser store, or you want to get the latest release, y

## For Chrome/Chromium

1. Go to https://github.com/agoralabs-sh/kibisis-web-extension/releases/latest and download the latest release and select the zip file for Chrome: `kibisis-chrome-x.x.x.zip`.
1. Go to https://github.com/kibis-is/web-extension/releases/latest and download the latest release and select the zip file for Chrome: `kibisis-chrome-x.x.x.zip`.

<CenteredImage
label="Download latest packed version"
Expand All @@ -40,7 +40,7 @@ Make sure you download the version relevant for your browser, for Chrome/Chromiu

:::note

If you would like to try a pre-release version, the cutting edge version, go to https://github.com/agoralabs-sh/kibisis-web-extension/releases and selected the first one. Please air on the side of caution as this is early access, it may have bugs and breaking changes.
If you would like to try a pre-release version, the cutting edge version, go to https://github.com/kibis-is/web-extension/releases and selected the first one. Please air on the side of caution as this is early access, it may have bugs and breaking changes.

:::

Expand Down Expand Up @@ -74,7 +74,7 @@ If you would like to try a pre-release version, the cutting edge version, go to

## For Firefox

1. Go to https://github.com/agoralabs-sh/kibisis-web-extension/releases/latest and download the latest release and select the zip file for Chrome: `kibisis-firefox-x.x.x.zip`.
1. Go to https://github.com/kibis-is/web-extension/releases/latest and download the latest release and select the zip file for Chrome: `kibisis-firefox-x.x.x.zip`.

<CenteredImage
label="Download latest packed version"
Expand All @@ -90,7 +90,7 @@ Make sure you download the version relevant for your browser, for Firefox, this

:::note

If you would like to try a pre-release version, the cutting edge version, go to https://github.com/agoralabs-sh/kibisis-web-extension/releases and selected the first one. Please air on the side of caution as this is early access, it may have bugs and breaking changes.
If you would like to try a pre-release version, the cutting edge version, go to https://github.com/kibis-is/web-extension/releases and selected the first one. Please air on the side of caution as this is early access, it may have bugs and breaking changes.

:::

Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config: Config = {
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'throw',
onDuplicateRoutes: 'throw',
organizationName: 'agoralabs-sh ',
organizationName: 'kibis-is',
plugins: ['docusaurus-plugin-sass'],
presets: [
[
Expand Down Expand Up @@ -67,7 +67,7 @@ const config: Config = {
},
],
],
projectName: 'kibisis-website',
projectName: 'website',
staticDirectories: [staticDir],
tagline: 'Your Lifestyle App',
themeConfig: {
Expand Down
4 changes: 2 additions & 2 deletions i18n/en/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"link.item.label.Report a bug": {
"message": "Report a bug",
"description": "The label of footer link with label=Report a bug linking to https://github.com/agoralabs-sh/kibisis-web-extension/issues/new?assignees=kieranroneill&labels=%F0%9F%90%9B+bug&projects=&template=bug_report_template.yml&title=%5BBug%5D%3A+"
"description": "The label of footer link with label=Report a bug linking to https://github.com/kibis-is/web-extension/issues/new?assignees=kieranroneill&labels=%F0%9F%90%9B+bug&projects=&template=bug_report_template.yml&title=%5BBug%5D%3A+"
},
"link.item.label.Suggest a feature": {
"message": "Suggest a feature",
"description": "The label of footer link with label=Suggest a feature linking to https://github.com/agoralabs-sh/kibisis-web-extension/issues/new?assignees=&labels=%E2%9C%A8+feature&projects=&template=feature_request_template.yml&title=%5BFeature%5D%3A+"
"description": "The label of footer link with label=Suggest a feature linking to https://github.com/kibis-is/web-extension/issues/new?assignees=&labels=%E2%9C%A8+feature&projects=&template=feature_request_template.yml&title=%5BFeature%5D%3A+"
},
"link.item.label.Privacy": {
"message": "Privacy",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@agoralabs-sh/kibisis-website",
"name": "@kibis-is/website",
"version": "2.0.1",
"description": "The front facing website for the Kibisis wallet.",
"repository": {
"type": "git",
"url": "https://github.com/agoralabs-sh/kibisis-website"
"url": "https://github.com/kibis-is/website"
},
"author": {
"name": "Kieran O'Neill",
"email": "kieran@agoralabs.sh",
"email": "kieran@kibis.is",
"url": "https://github.com/kieranroneill"
},
"license": "MIT",
Expand Down
7 changes: 3 additions & 4 deletions src/constants/Links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ export const EDGE_STORE_LINK: string =
'https://microsoftedge.microsoft.com/addons/detail/kibisis/bajncpocmkioafbijldokfbjajelkbmc';
export const FIREFOX_ADD_ON_LINK: string =
'https://addons.mozilla.org/addon/kibisis/';
export const GITHUB_LINK: string =
'https://github.com/agoralabs-sh/kibisis-web-extension';
export const GITHUB_LINK: string = 'https://github.com/kibis-is/web-extension';
export const KIBISIS_LINK: string = 'https://kibis.is';
export const REPORT_A_BUG_LINK: string =
'https://github.com/agoralabs-sh/kibisis-web-extension/issues/new?assignees=kieranroneill&labels=%F0%9F%90%9B+bug&projects=&template=bug_report_template.yml&title=%5BBug%5D%3A+';
'https://github.com/kibis-is/web-extension/issues/new?assignees=kieranroneill&labels=%F0%9F%90%9B+bug&projects=&template=bug_report_template.yml&title=%5BBug%5D%3A+';
export const SUGGEST_A_FEATURE_LINK: string =
'https://github.com/agoralabs-sh/kibisis-web-extension/issues/new?assignees=&labels=%E2%9C%A8+feature&projects=&template=feature_request_template.yml&title=%5BFeature%5D%3A+';
'https://github.com/kibis-is/web-extension/issues/new?assignees=&labels=%E2%9C%A8+feature&projects=&template=feature_request_template.yml&title=%5BFeature%5D%3A+';
export const X_LINK: string = 'https://x.com/kibisis_wallet';

0 comments on commit 125e366

Please sign in to comment.