Skip to content

Commit 9c0e6b6

Browse files
committed
build: uncomment release steps to publish production version
1 parent 9dc6c7a commit 9c0e6b6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ jobs:
6767
env:
6868
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
6969

70-
# - name: Publish @algorandfoundation/algorand-typescript-testing
71-
# if: github.ref_name != 'main'
72-
# uses: JS-DevTools/npm-publish@v3
73-
# with:
74-
# token: ${{ secrets.NPM_TOKEN }}
75-
# package: artifacts/algo-ts-testing/package.json
76-
# access: 'public'
77-
# tag: ${{ github.ref_name == 'alpha' && 'alpha' || github.ref_name == 'main' && 'beta' || github.ref_name == 'release' && 'latest' || 'pre-release' }}
70+
- name: Publish @algorandfoundation/algorand-typescript-testing
71+
if: github.ref_name != 'main'
72+
uses: JS-DevTools/npm-publish@v3
73+
with:
74+
token: ${{ secrets.NPM_TOKEN }}
75+
package: artifacts/algo-ts-testing/package.json
76+
access: 'public'
77+
tag: ${{ github.ref_name == 'alpha' && 'alpha' || github.ref_name == 'main' && 'beta' || github.ref_name == 'release' && 'latest' || 'pre-release' }}
7878

79-
# publish-docs:
80-
# name: Publish docs
81-
# needs: release
82-
# if: github.ref_name == 'release'
83-
# uses: ./.github/workflows/gh-pages.yml
84-
# permissions:
85-
# contents: read
86-
# pages: write
87-
# id-token: write
79+
publish-docs:
80+
name: Publish docs
81+
needs: release
82+
if: github.ref_name == 'release'
83+
uses: ./.github/workflows/gh-pages.yml
84+
permissions:
85+
contents: read
86+
pages: write
87+
id-token: write

0 commit comments

Comments
 (0)