Skip to content

Commit 0f7d83d

Browse files
authored
Merge pull request #45 from apache/run-jobs-sync
Run deploy jobs sequentially to avoid deploy confilicts
2 parents d8a73ee + 3ca0bcb commit 0f7d83d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
keep_files: true
2929

3030
deploy-latest-docs-page:
31+
needs: deploy-site-page
3132
if: github.ref == 'refs/heads/master'
3233
runs-on: ubuntu-20.04
3334
steps:
@@ -77,4 +78,4 @@ jobs:
7778
github_token: ${{ secrets.GITHUB_TOKEN }}
7879
publish_dir: ./output/docs/${{ steps.vars.outputs.branch_name }}
7980
publish_branch: asf-site
80-
destination_dir: ./output/docs/${{ steps.vars.outputs.branch_name }}
81+
destination_dir: ./output/docs/${{ steps.vars.outputs.branch_name }}

0 commit comments

Comments
 (0)