Skip to content

Commit e33910c

Browse files
committed
Try with PAT
1 parent d0a04ef commit e33910c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,12 @@ jobs:
6767
env:
6868
VERSION: ${{ needs.build-and-push.outputs.version }}
6969

70-
steps:
71-
- name: Generate token
72-
id: app_token
73-
uses: actions/create-github-app-token@v1
74-
with:
75-
app-id: ${{ secrets.APP_ID }}
76-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
70+
steps:
71+
- name: Checkout app-of-apps repo
72+
uses: actions/checkout@v4
73+
with:
74+
repository: davidcode2/app-of-apps
75+
token: ${{ secrets.DEPLOYMENT_PAT }}
7776

7877
- name: Checkout app-of-apps repo
7978
uses: actions/checkout@v4
@@ -91,7 +90,7 @@ jobs:
9190
- name: Commit deployment changes
9291
working-directory: immoly
9392
env:
94-
GIT_TOKEN: ${{ steps.app_token.outputs.token }}
93+
GIT_TOKEN: ${{ secrets.DEPLOYMENT_PAT }}
9594
run: |
9695
git config user.name "github-actions"
9796
git config user.email "github-actions@github.com"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ next-env.d.ts
4545
*.xcf
4646

4747
*.pem
48+
49+
PAT.txt

src/components/prices/seatCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ export default function SeatCard({
2020
</div>
2121
);
2222
}
23-

0 commit comments

Comments
 (0)