Skip to content

WIP: Create PR on main website when SPEC repo is updated #2

WIP: Create PR on main website when SPEC repo is updated

WIP: Create PR on main website when SPEC repo is updated #2

Workflow file for this run

name: Update main website
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SPEC_UPDATE }}
repository: scientific-python/scientific-python.org
- name: Update SPECs submodule
run: |
git submodule update --init
cd content/specs
git pull origin main
git lg
cd ../..
git status
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.SPEC_UPDATE }}
delete-branch: true
-

Check failure on line 34 in .github/workflows/update-website.yml

View workflow run for this annotation

GitHub Actions / Update main website

Invalid workflow file

The workflow is not valid. .github/workflows/update-website.yml (Line: 34, Col: 8): Unexpected value ''