Skip to content

Commit f40f069

Browse files
committed
Updae docs
1 parent aeb9167 commit f40f069

25 files changed

Lines changed: 174 additions & 55 deletions

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
publish:
1111
# Don't run just after creating repo from template
1212
# Also avoid running after merging set-up PR
13-
if: github.run_number > 2 && github.event.repository.owner.login == 'react18-tools'
13+
if: github.event.repository.owner.login == 'react18-tools'
1414
runs-on: ubuntu-latest
1515
permissions:
1616
contents: write
@@ -42,3 +42,12 @@ jobs:
4242
TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
OWNER: ${{ github.event.repository.owner.login }}
4444
REPO: ${{ github.event.repository.name }}
45+
46+
- name: Publish package with a short name
47+
continue-on-error: true
48+
run: |
49+
cd dist
50+
sed -i -e "s/.*name.*/\t\"name\": \"r18css\",/" package.json
51+
npm publish --provenance --access public
52+
env:
53+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

docs/assets/navigation.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/assets/search.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/functions/client_star_me_star_me.StarMe.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/functions/server_fork_me_fork_me.ForkMe.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)