mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add docs to npm package
This commit is contained in:
parent
1bbfb5425d
commit
733887744d
1 changed files with 9 additions and 0 deletions
9
.github/workflows/build-and-release.yml
vendored
9
.github/workflows/build-and-release.yml
vendored
|
|
@ -8,6 +8,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: safe-chain
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -27,6 +30,12 @@ jobs:
|
||||||
version="${{ github.ref_name }}"
|
version="${{ github.ref_name }}"
|
||||||
echo "tag=$version" >> $GITHUB_OUTPUT
|
echo "tag=$version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Add docs
|
||||||
|
run: |
|
||||||
|
cp ../README.md ./README.md
|
||||||
|
cp ../LICENSE ./LICENSE
|
||||||
|
cp -r ../docs ./docs
|
||||||
|
|
||||||
- name: Set the version
|
- name: Set the version
|
||||||
run: npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }}
|
run: npm --no-git-tag-version version ${{ steps.get_version.outputs.tag }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue