diff --git a/.github/workflows/preview-info.yml b/.github/workflows/preview-info.yml new file mode 100644 index 0000000000..0b3be3b57e --- /dev/null +++ b/.github/workflows/preview-info.yml @@ -0,0 +1,20 @@ +name: Show preview on PRs + +on: + pull_request: + push: + # types: [opened] + +jobs: + link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set current branch name + # shell: bash + run: echo "name=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT + id: current_branch + - name: Display preview URL + run: | + echo ${{ steps.current_branch.outputs.name }} + echo https://website-git-deploy-preview-mei-16-meili.vercel.app/docs/branch%3A