Skip to content

Commit

Permalink
chore: add master branch to doc generation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Oct 31, 2023
1 parent 20d1a6a commit e0b86b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: generate

on:
push:
branches: [ main ]
branches: [ main, master ]
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
agree-to-terms: true
token: ${{ secrets.GITHUB_TOKEN }}
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
if: github.ref == github.event.repository.default_branch
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit e0b86b7

Please sign in to comment.