Skip to content

terraform-docs: automated action #103

terraform-docs: automated action

terraform-docs: automated action #103

Workflow file for this run

name: Push to main branch
on:
push:
branches:
- main
jobs:
update_function_app_dist:
name: Update function_app_dist
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update function_app_dist default to 'release'
run: sed -i 's/^\( *default =\) "dev"/\1 "release"/' variables.tf
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: set function_app_dist=release'
file_pattern: 'variables.tf'