name: 'Deploy to Pages' description: 'Deploy files to static html server via ssh' author: 'Maximilian Keßler' inputs: host: description: > Server to deploy to. The action will ssh to this endpoint to try to deploy files. default: abstractnonsen.se host-user: description: > User used for host authentication. default: pages hostkey: description: > SSH host key fingerprint of the specified host, including the key type. If this does not match the host key fingerprint upon invocation of ssh, the action will fail default: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAufJTq206GOv0D8gHs2o3eDusLNWaB0U7JRhUYnux9B ssh-key: description: > SSH key used to authenticate to host. default: ${{ secrets.pages_ssh_key }} directory: description: > Directory to deploy. default: public index: description: > Whether to create an index.html file recursively listing the directory default: true index-title: description: > Title that will be displayed in the index.html default: ${{ github.repository }} runs: using: composite steps: - shell: bash run: | "${GITHUB_ACTION_PATH}/action.sh" env: INPUT_HOST: ${{ inputs.host }} INPUT_HOST_USER: ${{ inputs.host-user }} INPUT_HOST_KEY: ${{ inputs.hostkey }} INPUT_SSH_KEY: ${{ inputs.ssh-key }} INPUT_DIRECTORY: ${{ inputs.directory }} INPUT_INDEX: ${{ inputs.index }} INPUT_INDEX_TITLE: ${{ inputs.index-title }}