From 62fcfad8a8162dc69edd754ff0dd8011ec0c79d5 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 28 Jul 2024 12:58:50 +0100 Subject: [PATCH] .github/go: update blog posts automatically --- .github/workflows/go.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e1f256a..a2d85d2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,6 +11,10 @@ jobs: build: runs-on: ubuntu-latest + + permissions: + contents: write + steps: - uses: actions/checkout@v4 @@ -19,7 +23,16 @@ jobs: with: go-version: '1.20' + - name: Update + run: make + - name: Publish run: go run ./blog.go -publish env: MATAROA_TOKEN: ${{ secrets.MATAROA_TOKEN }} + + - name: Commit + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: README/rss: update +