Skip to content

Publish new version #164

Publish new version

Publish new version #164

Workflow file for this run

name: Publish new version
on:
workflow_dispatch:
schedule:
- cron: "0 7 * * *"
repository_dispatch:
types:
- webhook
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
date +%s > lastUpdate
git config user.name SrGobi
git config user.email [email protected]
git add lastUpdate
git diff --quiet && git diff --staged --quiet || git commit -m "[bot] Update blog with latest"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/SrGobi/srgobi.com.git main