-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update new org references (#61)
* 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
1 parent
ede8f0a
commit 125e366
Showing
9 changed files
with
117 additions
and
103 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |
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 |
---|---|---|
|
@@ -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" | ||
|
@@ -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 |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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