Let's use the artifacts token actually

This commit is contained in:
Ben Meadors 2024-09-21 19:33:17 -05:00
parent baceb48f07
commit c13b44b992

View File

@ -358,7 +358,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: meshtastic/meshtastic.github.io
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.ARTIFACTS_TOKEN }}
path: meshtastic.github.io
- name: Display structure of downloaded files
@ -371,16 +371,10 @@ jobs:
- name: Display structure of downloaded files
run: ls -R
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
title: Update protobufs and classes
- name: Commit and push changes
run: |
cd meshtastic.github.io
find . -type f -name 'meshtasticd_*' -exec rm -f {} +
git config --unset-all http.https://github.com/.extraheader
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .