File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4040 ximera-
4141
4242
43- - name : Build and publish Ximera courses
43+ - name : Build and publish Ximera courses
4444 env :
4545 # These variables can/should be set at repository level
4646 # If not set, defaults from xmScripts/config.txt or xlatex will be used
@@ -49,10 +49,11 @@ jobs:
4949 GPG_KEY_ID : ${{ secrets.GPG_KEY_ID }}
5050 XIMERA_URL : ${{ vars.XIMERA_URL }}
5151 XIMERA_NAME : ${{ vars.XIMERA_NAME }}${{ github.ref_name }}
52+ XOURSES : " ./testXourses/localizationTest.tex"
5253 run : |
5354 ls -alrt
5455 chmod +x xmScripts/xmlatex # Overleaf sync might reset it :-()
55- ./xmScripts/xmlatex ghaction
56+ ./xmScripts/xmlatex ghaction $XOURSES
5657 echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
5758
5859 - name : Setup ximera serve cache (only .git)
6970 name : Publish Ximera Courses
7071 needs : build-ximera # Waits for the build job to complete
7172 runs-on : ubuntu-latest
73+ if : github.ref == 'refs/heads/main'
7274 environment : production # Allows for 'manual review' step
7375 steps :
7476 - name : Restore ximera serve cache (only .git)
You can’t perform that action at this time.
0 commit comments