Skip to content

Commit 89928c7

Browse files
committed
use private container
1 parent 687dd09 commit 89928c7

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
container:
12-
image: oven/bun:debian
12+
image: abdulari/test:1
13+
credentials:
14+
username: ${{ secrets.DOCKER_USERNAME }}
15+
password: ${{ secrets.DOCKER_PASSWORD }}
1316
permissions:
1417
contents: write
1518
steps:
@@ -21,6 +24,11 @@ jobs:
2124

2225
- name: deploy to gh-pages
2326
run: |
24-
git worktree add -B gh-pages gh-pages origin/gh-pages
27+
git config --global --add safe.directory /__w/react-demo/react-demo
28+
git config --global user.name "github-actions[bot]"
29+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
30+
git fetch origin
31+
git branch
32+
git worktree add gh-pages origin/gh-pages
2533
cp -r ui/dist/* gh-pages/
2634
cd gh-pages && git add . && git commit -m "Update gh-pages" && git push origin gh-pages

0 commit comments

Comments
 (0)