v0.3.0
* 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
This commit is contained in:
25
docs/themes/hugo-theme-relearn/.github/workflows/docs-build-deployment.yaml
vendored
Normal file
25
docs/themes/hugo-theme-relearn/.github/workflows/docs-build-deployment.yaml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: docs-build-deployment
|
||||
|
||||
on:
|
||||
push: # Build on all pushes but only deploy for main branch
|
||||
workflow_dispatch: # Allow this task to be manually started (you'll never know)
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Run deploy
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Build site
|
||||
uses: ./.github/actions/build_site
|
||||
|
||||
- name: Deploy site
|
||||
uses: ./.github/actions/deploy_site
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
20
docs/themes/hugo-theme-relearn/.github/workflows/docs-build.yaml
vendored
Normal file
20
docs/themes/hugo-theme-relearn/.github/workflows/docs-build.yaml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: docs-build
|
||||
|
||||
on:
|
||||
push: # Build on all pushes but only deploy for main branch
|
||||
pull_request: # Build on all PRs regardless what branch
|
||||
workflow_dispatch: # Allow this task to be manually started (you'll never know)
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: Run build
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'push' || (github.event_name == 'push' && github.ref != 'refs/heads/main')
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
|
||||
- name: Build site
|
||||
uses: ./.github/actions/build_site
|
42
docs/themes/hugo-theme-relearn/.github/workflows/version-release.yaml
vendored
Normal file
42
docs/themes/hugo-theme-relearn/.github/workflows/version-release.yaml
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
name: version-release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
milestone:
|
||||
description: 'Milestone for this release'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Run release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Check milestone
|
||||
id: check
|
||||
uses: ./.github/actions/check_milestone
|
||||
with:
|
||||
milestone: ${{ github.event.inputs.milestone }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create release
|
||||
if: ${{ steps.check.outputs.outcome == 'success' }}
|
||||
uses: ./.github/actions/release_milestone
|
||||
with:
|
||||
milestone: ${{ github.event.inputs.milestone }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# We need to deploy the site again to show the updated changelog
|
||||
- name: Build site
|
||||
uses: ./.github/actions/build_site
|
||||
|
||||
- name: Deploy site
|
||||
uses: ./.github/actions/deploy_site
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
Reference in New Issue
Block a user