Skip to content

Daily content sync

Daily content sync #22

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Daily content sync
on:
schedule:
- cron: "0 3 * * *"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./MyLife
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Run in silent
run: dotnet run silent
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Daily content update