Checklist
Describe your question
Apologies if this is the wrong place to ask. I have a workflow that includes this action in the middle of a workflow. The action immediately after gh-pages, is to trigger a remote server that pulls information from the deployed pages. However, it seems like the gh-pages action finishes and triggers the next step before the gh-pages branch is fully deployed. Adding a manual hardcoded delay of 30 seconds sometimes works, but othertimes is does not. The branch I am deploying contains tens of thousands of files.
How can I wait until the deployment has actually completed?
Relevant links
Public repository: N/A Private company respository
YAML config:
YAML workflow:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: gh-pages
destination_dir: ${{ github.ref == 'refs/heads/master' && 'master' || github.head_ref }}
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
Relevant log output
No response
Additional context.
No response
Checklist
Describe your question
Apologies if this is the wrong place to ask. I have a workflow that includes this action in the middle of a workflow. The action immediately after gh-pages, is to trigger a remote server that pulls information from the deployed pages. However, it seems like the gh-pages action finishes and triggers the next step before the gh-pages branch is fully deployed. Adding a manual hardcoded delay of 30 seconds sometimes works, but othertimes is does not. The branch I am deploying contains tens of thousands of files.
How can I wait until the deployment has actually completed?
Relevant links
Public repository: N/A Private company respository YAML config: YAML workflow: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist publish_branch: gh-pages destination_dir: ${{ github.ref == 'refs/heads/master' && 'master' || github.head_ref }} user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com'Relevant log output
No response
Additional context.
No response