File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 key : ximeraSERVE-${{ github.ref_name }}-${{ github.sha }}
7070
7171
72- publish-ximera :
73- name : Publish Ximera Courses
72+ publish-production :
73+ name : Publish Production (ximera.osu.edu)
74+ needs : build-ximera # Waits for the build job to complete
75+ runs-on : ubuntu-latest
76+ environment : production
77+ steps :
78+
79+
80+ - name : Restore ximera serve cache (only .git)
81+ id : serve-cache-restore
82+ uses : actions/cache/restore@v4
83+ with :
84+ fail-on-cache-miss : true
85+ path : |
86+ xmScripts/**
87+ .git/**
88+ key : ximeraSERVE-${{ github.ref_name }}-${{ github.sha }}
89+
90+ - name : Serve
91+ env :
92+ GPG_KEY : ${{ secrets.GPG_KEY }}
93+ GPG_KEY_ID : ${{ secrets.GPG_KEY_ID }}
94+ XIMERA_URL : ${{ vars.XIMERA_URL }}
95+ XIMERA_NAME : ${{ vars.XIMERA_NAME }}
96+ run : |
97+ git log --oneline --graph --decorate --all -n 10
98+ ./xmScripts/xmlatex name
99+ ./xmScripts/xmlatex serve -t $XM_TO_PROCESS
100+ echo "✅ Published to $XIMERA_URL$XIMERA_NAME " >> $GITHUB_STEP_SUMMARY
101+
102+ publish-xerxes :
103+ name : Publish to xerxes.ximera.org
74104 needs : build-ximera # Waits for the build job to complete
75105 runs-on : ubuntu-latest
76106 environment : production
You can’t perform that action at this time.
0 commit comments