Update update_schemas.yml

This commit is contained in:
Ben C 2022-11-15 13:28:47 -05:00 committed by GitHub
parent 18f66f8701
commit 7076927975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.SCHEMAS_TOKEN }}
- name: Download Artifact
uses: actions/download-artifact@v3
@ -28,13 +30,13 @@ jobs:
- name: Commit Schemas
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "bwc9876@gmail.com"
git config --local user.name "Ben C"
git add NewHorizons/Schemas/**
git commit -m "Updated Schemas"
- name: Push Schemas
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.github_token }}
github_token: ${{ secrets.SCHEMAS_TOKEN }}
branch: ${{ github.ref }}