Skip to content

Commit

Permalink
PR deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kpears201 committed Nov 10, 2023
1 parent 261c28b commit 678102e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@ jobs:
- name: Set main tags
if: github.ref_name == 'main' && github.event_name != 'pull_request'
run: |
echo 'NPM_DIST_TAG="--tag latest"' >> $GITHUB_ENV
echo "NPM_DIST_TAG=--tag latest" >> $GITHUB_ENV
echo "DOCS_TAG=latest" >> $GITHUB_ENV
- name: Set next tags
if: github.ref_name == 'next' && github.event_name != 'pull_request'
run: |
echo 'NPM_DIST_TAG="--tag next"' >> $GITHUB_ENV
echo "NPM_DIST_TAG=--tag next" >> $GITHUB_ENV
echo "DOCS_TAG=next" >> $GITHUB_ENV
- name: Set feature branch tags
if: github.ref_name != 'main' && github.ref_name != 'next' && github.event_name != 'pull_request'
run: |
echo 'NPM_DIST_TAG="--tag test"' >> $GITHUB_ENV
echo "NPM_DIST_TAG=--tag test" >> $GITHUB_ENV
echo "FEATURE_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Set PR tags
if: github.ref_name != 'main' && github.ref_name != 'next' && github.event_name == 'pull_request'
run: |
echo 'NPM_DIST_TAG="--tag test"' >> $GITHUB_ENV
echo "NPM_DIST_TAG=--tag test" >> $GITHUB_ENV
echo "DOCS_TAG=$(node ./src/js/version.mjs branch-to-prerelease ${{ github.head_ref }})" >> $GITHUB_ENV
echo "FEATURE_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
- name: Release mono-artifact to GitHub
Expand Down

0 comments on commit 678102e

Please sign in to comment.