Skip to content

Commit

Permalink
ci(deploy_docs.yaml): change latest from alias to identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele-Alberti committed Nov 12, 2024
1 parent a927770 commit 48695ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,17 @@ jobs:
- name: Set build alias for development
if: github.ref_name == 'development'
run: |
ALIAS=latest
VERSION=latest
ALIAS=""
echo "version: $VERSION"
echo "version=$VERSION" >> $GITHUB_ENV
echo "alias: $ALIAS"
echo "alias=$ALIAS" >> $GITHUB_ENV
- name: Set build alias for tagged version
if: startsWith(github.event.ref, 'refs/tags/v')
run: |
ALIAS=stable
echo "version: $VERSION"
echo "alias: $ALIAS"
echo "alias=$ALIAS" >> $GITHUB_ENV
- name: Build and deploy documentation
Expand Down

0 comments on commit 48695ff

Please sign in to comment.