Skip to content

Commit 30f9df5

Browse files
committed
Force doc push
1 parent 30b9abb commit 30f9df5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pythonapp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,25 +135,25 @@ jobs:
135135
if-no-files-found: error
136136

137137
- name: Checkout FEniCS/docs
138-
if: ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
138+
if: ${{ github.repository == 'FEniCS/ffcx' && runner.os == 'Linux' && matrix.python-version == 3.12 }}
139139
uses: actions/checkout@v6
140140
with:
141141
repository: "FEniCS/docs"
142142
path: "docs"
143143
ssh-key: "${{ secrets.SSH_GITHUB_DOCS_PRIVATE_KEY }}"
144144
- name: Set version name
145-
if: ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
145+
if: ${{ github.repository == 'FEniCS/ffcx' && runner.os == 'Linux' && matrix.python-version == 3.12 }}
146146
run: |
147147
echo "VERSION_NAME=v0.11.0" >> $GITHUB_ENV
148148
- name: Copy documentation into repository
149-
if: ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
149+
if: ${{ github.repository == 'FEniCS/ffcx' && runner.os == 'Linux' && matrix.python-version == 3.12 }}
150150
run: |
151151
cd docs
152152
git rm -r --ignore-unmatch ffcx/${{ env.VERSION_NAME }}
153153
mkdir -p ffcx/${{ env.VERSION_NAME }}
154154
cp -r ../doc/build/html/* ffcx/${{ env.VERSION_NAME }}
155155
- name: Commit and push documentation to FEniCS/docs
156-
if: ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
156+
if: ${{ github.repository == 'FEniCS/ffcx' && runner.os == 'Linux' && matrix.python-version == 3.12 }}
157157
run: |
158158
cd docs
159159
git config --global user.email "fenics@github.com"

0 commit comments

Comments
 (0)