Skip to content

Commit 718fdbb

Browse files
committed
refactor: #1 Update GitHub Actions workflow for testing documentation build and deploy
1 parent 5e6853e commit 718fdbb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/docs-ci-dry-run.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,10 @@ jobs:
5454
- name: Test full deployment process
5555
run: |
5656
# Simulate tag deployment
57-
mike deploy --dry-run test-version latest
58-
59-
# Simulate setting default version
60-
mike set-default --dry-run latest
57+
mike deploy test-version latest --allow-empty
6158
6259
# Simulate dev deployment
63-
mike deploy --dry-run dev
60+
mike deploy dev --allow-empty
6461
6562
# Check the current state
6663
git status
@@ -69,4 +66,4 @@ jobs:
6966
- name: Cleanup
7067
run: |
7168
git checkout ${{ github.ref }}
72-
git branch -D test-deployment
69+
git branch -D gh-pages

0 commit comments

Comments
 (0)