Add core and alps prefixes to config files
#62
This file contains hidden or 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
| --- | |
| name: deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy-gh-pages: | |
| if: github.repository == 'aiidateam/aiida-code-registry' | |
| runs-on: ubuntu-latest | |
| env: | |
| COMMIT_AUTHOR: Deploy Action | |
| COMMIT_AUTHOR_EMAIL: action@github.com | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.8 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r ./.make_ghpages/requirements.txt | |
| - name: Collect all setup info of computers/codes into a single JSON file. | |
| run: | | |
| python "${GITHUB_WORKSPACE}/.make_ghpages/generate_json.py" | |
| cp -r "${GITHUB_WORKSPACE}/.make_ghpages/out" "${GITHUB_WORKSPACE}/out" | |
| - name: update index.html | |
| run: cp ./.make_ghpages/index.html out/ | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@4.1.1 | |
| with: | |
| branch: gh-pages # The branch the action should deploy to. | |
| folder: out # The folder the action should deploy. |