Skip to content

Commit 44fa9e1

Browse files
authored
fix: remove env.ACT conditionals (env not in if context) (#110)
Made-with: Cursor
1 parent 88c72d8 commit 44fa9e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/mdbook.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,11 @@ jobs:
9494
ls -la book/ | head -30
9595
9696
- name: Upload artifact
97-
if: ${{ !env.ACT }}
9897
uses: actions/upload-pages-artifact@v3
9998
with:
10099
path: ./book
101100

102-
- name: Confirm local act build
103-
if: ${{ env.ACT }}
104-
run: 'echo "Local act run: mdBook build completed; skipping upload."'
105-
106101
deploy:
107-
if: ${{ !env.ACT }}
108102
environment:
109103
name: github-pages
110104
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)