update qeinputgenerator url #17
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
name: CD to dokku | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: github.repository == 'materialscloud-org/tools-optimade-client' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install SSH key for dokku | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY_DOKKU }} | |
name: id_optimadeclient_ed25519 | |
known_hosts: ${{ secrets.SSH_KNOWN_HOST_DOKKU }} | |
config: | | |
Host materialscloud.io | |
Hostname %h | |
IdentityFile ~/.ssh/id_optimadeclient_ed25519 | |
- name: Deploy to dokku | |
run: | | |
git remote add dokku [email protected]:optimadeclient | |
git config --global user.email "[email protected]" | |
git config --global user.name "AiiDAlab Team" | |
git checkout master | |
git push dokku master |