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

Commit

Permalink
Correct syntax of "Update README" action
Browse files Browse the repository at this point in the history
  • Loading branch information
fschuetz04 committed Oct 13, 2019
1 parent 4f5defa commit 5178b26
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Update README
on: push # For testing
# push:
# branches: [master]
on:
push:
branches: [master]
jobs:
build:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.x
architecture: x64
- name: Update README
run: python update_readme.py
- name: Publish README
uses: mikeal/publish-to-github-action@4e60bca
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-18.04
name: Update README
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.x
architecture: x64
- name: Update README
run: python update_readme.py
- name: Publish README
uses: mikeal/publish-to-github-action@4e60bca
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5178b26

Please sign in to comment.