Skip to content

Commit

Permalink
add echo command
Browse files Browse the repository at this point in the history
  • Loading branch information
hkollmann committed Jan 1, 2022
1 parent c5f200d commit d5c1da7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on-new-framework-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
with:
ref: gh-pages
path: 'documentation'

- id: get_dest_dir
run: |
ref=${{ github.event.client_payload.ref }}
echo "ref is ${{ ref }}"
dir=$(echo "$ref" | cut -d / -f 3 | cut -d . -f 1-2)
echo "::set-output name=destination_dir::$dir"
echo "destination dir is ${{ steps.get_dest_dir.outputs.destination_dir }}"
- name: Deploy to GH page
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit d5c1da7

Please sign in to comment.