-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepare docs. * install zio-sbt-website plugin. * update readme. * remove website. * update ci. * update homepage url. Co-authored-by: Milad Khajavi <khajavi@gmail.com>
- Loading branch information
1 parent
d5411c4
commit ddd6bf2
Showing
31 changed files
with
48 additions
and
764 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
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 |
---|---|---|
@@ -1,34 +1,28 @@ | ||
name: Website | ||
# This file was autogenerated using `zio-sbt` via `sbt generateGithubWorkflow` | ||
# task and should be included in the git repository. Please do not edit | ||
# it manually. | ||
|
||
name: website | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
release: | ||
types: | ||
- published | ||
types: [ published ] | ||
|
||
jobs: | ||
- publish: | ||
publish-docs: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/checkout@v3 | ||
- name: Setup Java | ||
uses: actions/setup-java@v3.8.0 | ||
- uses: actions/checkout@v3.1.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
check-latest: true | ||
- name: Install libuv | ||
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | ||
- name: Set Swap Space | ||
uses: pierotofy/set-swap-space@master | ||
fetch-depth: 0 | ||
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v13 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
swap-size-gb: 7 | ||
- run: sbt docs/docusaurusPublishGhpages | ||
- name: Publish the site | ||
run: ./sbt docs/docusaurusPublishGhpages | ||
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Publishing Docs to NPM Registry | ||
run: sbt docs/publishToNpm | ||
env: | ||
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.