Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Update container image ghcr.io/jmmaloney4/git-annex to latest #5314

Update container image ghcr.io/jmmaloney4/git-annex to latest

Update container image ghcr.io/jmmaloney4/git-annex to latest #5314

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[no-deploy]')"
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: jmmaloney4/gomplate-action@main
with:
file: './cluster/gen/template.tmpl'
out: './cluster/gen/gen.yaml'
context: 'context=./cluster/gen/context.yaml'
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit -m "deploy before squash"
git reset $(git commit-tree HEAD^{tree} -m "Deploy ${{ github.ref }}@${{ github.sha }}")
- uses: ad-m/github-push-action@master
with:
branch: deploy
force: true