Skip to content

Commit

Permalink
chore: Update deployment commands in deploy-docs-latest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janosbabik committed Jul 1, 2024
1 parent a1f6373 commit 8b589e1
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/deploy-docs-latest.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
name: Deploy LATEST DOCS
on:
workflow_run:
workflows: ["Bump version"]
types:
- completed
push:
branches:
- main
tags:
- '*'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Tag Name
id: get_tag_name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: |
echo "Full ref: $GITHUB_REF"
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "Tag name: $TAG_NAME"
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
- name: Display Tag Name
run: echo "The tag name is $TAG_NAME"
run: echo "The tag name is ${{ env.TAG_NAME }}"

- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
Expand Down

0 comments on commit 8b589e1

Please sign in to comment.