Skip to content

Commit

Permalink
update token env
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBarnes committed Jan 4, 2024
1 parent 35ece89 commit 338a7cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/push-to-starter-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# token: ${{ secrets.GITHUB_TOKEN }}
# ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Push to another repository
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github_token: ${{ secrets.PAT }}
repository: CalebBarnes/nextwp-starter
directory: apps/next-wordpress-starter
branch: main
force: true
4 changes: 2 additions & 2 deletions .github/workflows/release-wp-plugins-and-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
Expand All @@ -39,4 +39,4 @@ jobs:
gh release upload ${{ github.ref }} "${zip_file}" --clobber
done
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}

0 comments on commit 338a7cc

Please sign in to comment.