Skip to content

Commit 63b277e

Browse files
committed
ci: enable deployment after meetup changes by gh actions
1 parent 05e49a1 commit 63b277e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/default-next-meetup.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
permissions:
77
contents: write
8+
actions: write
89
id-token: write
910

1011
jobs:
@@ -40,6 +41,7 @@ jobs:
4041
git add -A
4142
git commit -m "chore: reset next meetup to default"
4243
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "HEAD:${GITHUB_REF_NAME}"
44+
gh workflow run deploy.yml --ref "${GITHUB_REF_NAME}"
4345
else
4446
echo "No changes to commit"
4547
fi

.github/workflows/set-next-meetup.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
permissions:
1212
contents: write
13+
actions: write
1314
id-token: write
1415

1516
jobs:
@@ -48,6 +49,7 @@ jobs:
4849
git add -A
4950
git commit -m "chore: set next meetup event"
5051
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "HEAD:${GITHUB_REF_NAME}"
52+
gh workflow run deploy.yml --ref "${GITHUB_REF_NAME}"
5153
else
5254
echo "No changes to commit"
5355
fi

0 commit comments

Comments
 (0)