Skip to content

Commit 69c356d

Browse files
committed
hotfix
1 parent 08b0942 commit 69c356d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ concurrency:
2222
jobs:
2323
# This job handles the entire build and deploy process for GitHub Pages
2424
build-and-deploy-github:
25-
if: env.GITHUB_ACTIONS == 'true'
25+
# This job runs on GitHub Actions, which is the default. We exclude Gitea.
26+
if: ${{ !env.GITEA_ACTIONS }}
2627
runs-on: ubuntu-latest
2728
environment:
2829
name: github-pages
@@ -55,7 +56,7 @@ jobs:
5556
# This job handles the entire build and deploy process for Gitea
5657
build-and-deploy-gitea:
5758
# This job only runs on Gitea Actions
58-
if: env.GITEA_ACTIONS == 'true'
59+
if: ${{ env.GITEA_ACTIONS == 'true' }}
5960
runs-on: ubuntu-latest
6061
steps:
6162
- name: Checkout repository

0 commit comments

Comments
 (0)