Only a few deploy to gh-pages jobs are successful, cannot lock ref #466
-
Describe the Issue I keep getting Error: The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 ❌
Deployment failed! ❌ Logs Additional Comments I have reported this in #365 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Please post your workflow |
Beta Was this translation helpful? Give feedback.
-
on:
pull_request:
branches: [ master ]
label:
types: [ gh-pages ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
language: [de_DE, ja_JP, es_ES]
if: contains( github.event.pull_request.labels.*.name, 'gh-pages' )
steps:
- uses: actions/checkout@v2
- name: Cancel previous Runs
uses: everphone-gmbh/cancel-previous-workflows@v5
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U virtualenv setuptools wheel
pip install -U -r requirements-dev.txt sphinx-intl qiskit
sudo apt-get install graphviz pandoc
- name: Build translated Qiskit Docs
env:
TRANSLATION_LANG: ${{ matrix.language }}
run: |
tools/staging_translated_documentation.sh
- name: Install SSH Client
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY_KEY }}
- name: Deploy to gh-pages
uses: JamesIves/[email protected]
with:
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: build
CLEAN_EXCLUDE: '["README.md", "index.html", "qiskit_header.png"]'
ACTIONS_STEP_DEBUG: true
SSH: true |
Beta Was this translation helpful? Give feedback.
-
Couple of things:
Moved this to discussions until we can figure out if this is a bug or not or an issue with your workflow. |
Beta Was this translation helpful? Give feedback.
-
Hi James, I bumped the version to 3.6.2 (https://github.com/qiskit-community/qiskit-translations/pull/276/checks?check_run_id=1289660833). So, the build is triggered if a label This has been happening after increasing the number of jobs in the single workflow. But I've been struggling with this error since few months now. |
Beta Was this translation helpful? Give feedback.
Hi James,
I bumped the version to 3.6.2 (https://github.com/qiskit-community/qiskit-translations/pull/276/checks?check_run_id=1289660833). So, the build is triggered if a label
gh-pages
is added to a PR and basically, this errors randomly. Initially I had all the builds in a single workflow but then broke it down to 4 different files because I had to re-run the sphinx docs build for all 11 languages which I felt was unnecessary. But anyways, it still fails.In the link above, I added everything to a single workflow (https://github.com/qiskit-community/qiskit-translations/blob/b549d008c0f0a124eae7a0e1503bb50387fdf6f1/.github/workflows/staging-workflow.yml)
This has been happening after inc…