We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be8441d + 12b31cd commit 83a576fCopy full SHA for 83a576f
.github/workflows/deploy.yml renamed to .github/workflows/cd.yml
@@ -11,16 +11,15 @@ jobs:
11
steps:
12
- uses: actions/checkout@v4
13
14
- - name: Git setup
15
- run: |
16
- git config --global user.name github-actions[bot]
17
- git config --global user.email github-actions[bot]@users.noreply.github.com
18
-
19
- name: Install dependencies
20
run: npm install
21
22
- name: Build
23
run: npm run build
24
25
- name: Deploy
26
- run: npm run deploy
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
+ npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
0 commit comments