Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
chore(template): sync with ahmadnassri/template-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Oct 5, 2021
1 parent c90be2f commit 3904bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
const content = readFileSync(`${process.env.GITHUB_WORKSPACE}/${path}`)
const { data } = await github.repos.getContent({ ...context.repo, path })
const { data } = await github.rest.repos.getContent({ ...context.repo, path })
if (Buffer.from(data.content, 'base64').compare(content) === 0) return
await github.repos.createOrUpdateFileContents({...context.repo, path,
await github.rest.repos.createOrUpdateFileContents({...context.repo, path,
sha: data.sha,
message: 'docs(readme): update readme',
content: content.toString('base64')
Expand Down

0 comments on commit 3904bfa

Please sign in to comment.