Skip to content

Add files via upload #61

Add files via upload

Add files via upload #61

Workflow file for this run

name: Deploy manifests
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip-ci')"
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
-
name: Checkout repository
uses: actions/checkout@v2
- name: Get commit SHA
id: vars
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "::set-output name=sha_short::$(git rev-parse HEAD)"
-
name: Import GPG Keys
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
-
name: Build repo
run: |
bash build.sh
-
name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: publish
git-config-name: GitHub Actions
git-config-email: github-actions[bot]@users.noreply.github.com
commit-message: Updates repo to ${{ steps.vars.outputs.sha_short }}