File tree Expand file tree Collapse file tree 6 files changed +10171
-529
lines changed
Expand file tree Collapse file tree 6 files changed +10171
-529
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # Updates web page on pushes to `master`
3+ name : webpage
4+
5+ on :
6+ push :
7+ branches :
8+ - master
9+
10+ jobs :
11+ webpage :
12+ if : github.repository == 'unkcpz/qeschemas' # XXX: change to QEF/qeschemas after fixed
13+
14+ runs-on : ubuntu-latest
15+ env :
16+ COMMIT_AUTHOR : Deploy Action
17+ COMMIT_AUTHOR_EMAIL :
[email protected] 18+ steps :
19+ - uses : actions/checkout@v2
20+ - run : git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
21+ - name : Install xsltproc
22+ run : sudo apt-get install -f xsltproc
23+ - name : make pages
24+ run : ./.make_ghpages/generate.sh
25+ - name : update index.html
26+ run : cp ./.make_ghpages/index.html out/
27+ - name : Deploy 🚀
28+ 29+ with :
30+ branch : gh-pages # The branch the action should deploy to.
31+ folder : out # The folder the action should deploy.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ mkdir -p out
3+ xsltproc --stringparam title " UPF v2.0.1" \
4+ --stringparam sortByComponent false \
5+ --stringparam printAllSuperTypes false \
6+ --stringparam printLegend false \
7+ --stringparam printGlossary false \
8+ --stringparam printNSPrefixes false \
9+ .make_ghpages/xs3p.xsl UPF/qe_upf_220905.xsd > out/qe_upf.html
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < body >
4+
5+ < h1 > Quantum ESPRESSO schemas</ h1 >
6+
7+ < p > < a href ="/qeschemas/qe_upf.html "> UPF schema</ a > </ p >
8+
9+ </ body >
10+ </ html >
11+
You can’t perform that action at this time.
0 commit comments