Skip to content

Commit

Permalink
Let's use the artifacts token actually
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Sep 22, 2024
1 parent baceb48 commit c13b44b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/main_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit c13b44b

Please sign in to comment.