Skip to content

Commit

Permalink
point to main, not to master
Browse files Browse the repository at this point in the history
  • Loading branch information
marcorossi5 committed Jan 12, 2024
1 parent a5776c9 commit be0f8ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy docs
on:
workflow_dispatch:
push:
branches: [master]
branches: [main]
tags:
- "*"

Expand All @@ -16,10 +16,10 @@ jobs:
- name: checks for the label
id: label_step
run: |
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "version=latest" >> $GITHUB_OUTPUT
fi
if [[ "${{ github.ref_type }}" == "branch" ]] && [[ "${{ github.ref }}" != "refs/heads/master" ]]; then
if [[ "${{ github.ref_type }}" == "branch" ]] && [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
exit 1
fi
if [[ "${{ github.ref_type }}" == "tag" ]]; then
Expand Down

0 comments on commit be0f8ee

Please sign in to comment.