Replace redirection with tee command with sudo for file creation (#1557) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Generated Content | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-content: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- run: make content | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: "[automated] Update generated content" | |
title: "[automated] Update generated content" | |
delete-branch: true | |
token: ${{ secrets.GITHUB_TOKEN }} |