-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
13,978 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# Updates web page on pushes to `master` | ||
name: webpage | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
webpage: | ||
if: github.repository == 'unkcpz/qeschemas' # XXX: change to QEF/qeschemas after fixed | ||
|
||
runs-on: ubuntu-latest | ||
env: | ||
COMMIT_AUTHOR: Deploy Action | ||
COMMIT_AUTHOR_EMAIL: [email protected] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | ||
- name: Install xsltproc | ||
run: sudo apt-get install -f xsltproc | ||
- name: make pages | ||
run: ./.make_ghpages/generate.sh | ||
- name: update index.html | ||
run: cp ./.make_ghpages/index.html out/ | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages # The branch the action should deploy to. | ||
folder: out # The folder the action should deploy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
mkdir -p out | ||
xsltproc --stringparam title "UPF v2.0.1" \ | ||
--stringparam sortByComponent false \ | ||
--stringparam printAllSuperTypes false \ | ||
--stringparam printLegend false \ | ||
--stringparam printGlossary false \ | ||
--stringparam printNSPrefixes false \ | ||
.make_ghpages/xs3p.xsl UPF/qe_upf_220905.xsd > out/qe_upf.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
|
||
<h1>Quantum ESPRESSO schemas</h1> | ||
|
||
<p><a href="/qeschemas/qe_upf.html">UPF schema</a></p> | ||
|
||
</body> | ||
</html> | ||
|
Oops, something went wrong.