Skip to content

Commit 80fbadf

Browse files
committed
Publish main also to ximera.osu.edu
1 parent 42b153b commit 80fbadf

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/serve-ximera.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
GPG_KEY: ${{ secrets.GPG_KEY }}
4949
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
5050
XIMERA_URL: ${{ vars.XIMERA_URL }}
51-
XIMERA_NAME: ${{ vars.XIMERA_NAME }}${{ github.ref_name }}
51+
XIMERA_NAME: ${{ vars.XIMERA_NAME }}*${{ github.ref_name }}
5252
XOURSES: "." # "./testXourses"
5353
XM_COMPILE_SEQUENCE: "pdf,handout.pdf,html"
5454
run: |
5555
ls -alrt
5656
chmod +x xmScripts/xmlatex # Overleaf sync might reset it :-()
57-
./xmScripts/xmlatex veryclean
57+
# ./xmScripts/xmlatex veryclean
5858
./xmScripts/xmlatex ghaction $XOURSES
5959
echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
6060
@@ -85,16 +85,25 @@ jobs:
8585
.git/**
8686
key: ximeraSERVE-${{ github.ref_name }}-${{ github.sha }}
8787

88-
- name: Serve
88+
- name: Serve to XIMERA_URL
8989
env:
9090
GPG_KEY: ${{ secrets.GPG_KEY }}
9191
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
9292
XIMERA_URL: ${{ vars.XIMERA_URL }}
9393
XIMERA_NAME: ${{ vars.XIMERA_NAME }}
9494
run: |
95-
chmod +x xmScripts/xmlatex # Overleaf sync might reset it :-()
9695
./xmScripts/xmlatex name
97-
./xmScripts/xmlatex serve -f # NOTE: -f should not be needed ...
96+
./xmScripts/xmlatex serve
97+
echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
98+
- name: Serve to ximera.osu.edu
99+
env:
100+
GPG_KEY: ${{ secrets.GPG_KEY }}
101+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
102+
XIMERA_URL: "https://ximera.osu.edu/"
103+
XIMERA_NAME: ${{ vars.XIMERA_NAME }}
104+
run: |
105+
./xmScripts/xmlatex name
106+
./xmScripts/xmlatex serve
98107
echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
99108
100109

0 commit comments

Comments
 (0)