Andrew Woodlee
4b382bddd9
* Getting environment variables and passwords from Vault (not tested yet) * Vault configuration to config (not tested yet) * Ability to run scripts from file on local machine on the remote host * Ability to get ouput in the notification of a list for individual commands or all commands * Make SSH connections close after all commands have been run; reuse previous connections if needed
18 lines
475 B
YAML
18 lines
475 B
YAML
name: Deploy site
|
|
description: Deploys a built site on GitHub-Pages
|
|
inputs:
|
|
github_token:
|
|
description: Secret GitHub token
|
|
required: true
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Deploy site
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
env:
|
|
GITHUB_TOKEN: ${{ inputs.github_token }}
|
|
GITHUB_WORKSPACE: ${{ github.workspace }}
|
|
with:
|
|
github_token: ${{ env.GITHUB_TOKEN }}
|
|
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
|