Skip to content

Commit

Permalink
fix(ci): remove special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
jusa3 committed Mar 6, 2024
1 parent d09d519 commit 67e5806
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.PAT_TO_PUSH }}
SCOPE: '@nfdi4health'
- name: Capture version number
run: echo "SR_VERSION=$(npx semantic-release --dry-run | grep -oP 'Found git tag v\K\d+\.\d+\.\d+')" >> $GITHUB_ENV
run: echo "SRVERSION=$(npx semantic-release --dry-run | grep -oP 'Found git tag v\K\d+\.\d+\.\d+')" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }}
NODE_AUTH_TOKEN: ${{ secrets.PAT_TO_PUSH }}
SCOPE: '@nfdi4health'
- name: Set output
run: echo "sr_version=$SR_VERSION" >> $GITHUB_OUTPUT
- name: Debug SR_VERSION
run: echo "SR_VERSION is $SR_VERSION"
run: echo "srversion=$SRVERSION" >> "$GITHUB_OUTPUT"
- name: Debug SRVERSION
run: echo "SRVERSION is $SRVERSION"
documentation:
needs: build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -87,14 +87,14 @@ jobs:
npx gh-pages-multi deploy -s public --no-history
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Use SR_VERSION
- name: Use SRVERSION
env:
SR_VERSION: ${{ needs.build.outputs.sr_version }}
run: echo "SR_VERSION is $SR_VERSION"
SRVERSION: ${{ needs.build.outputs.srversion }}
run: echo "SRVERSION is $SRVERSION"
- name: Deploy to GitHub Pages
env:
SR_VERSION: ${{ needs.build.outputs.sr_version }}
SRVERSION: ${{ needs.build.outputs.srversion }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx gh-pages-multi deploy -s public --no-history -t "$SR_VERSION"
npx gh-pages-multi deploy -s public --no-history -t "$SRVERSION"

0 comments on commit 67e5806

Please sign in to comment.