-
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.
chore: build docs to separate branch
- Loading branch information
Showing
58 changed files
with
563 additions
and
2,133 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: npm install, build, test | ||
run: | | ||
npm i | ||
npm run build | ||
npm run test | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "MrAntix" | ||
if git show-ref --quiet refs/heads/docs; then | ||
git branch -D docs | ||
fi | ||
git checkout -b docs | ||
npm run build.docs | ||
git add -f ./docs | ||
git commit -m"docs: update" | ||
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/mrantix/bind.git | ||
git push origin docs --force | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
dist/ | ||
tmp/ | ||
out-tsc/ | ||
docs/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.