Skip to content

Commit

Permalink
cd: setup git identity and use workflow search
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 committed Jan 19, 2025
1 parent 5e3e0f7 commit 612317f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@ jobs:
with:
name: dist-artifact
github-token: ${{ github.token }}
run-id: ${{ vars.RUN_ID }}
workflow: build.yaml
workflow_search: true
workflow_conclusion: success
path: dist/

- name: Setup Git Identity
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest

- name: Install gh-pages
run: npm install -g gh-pages
run: npm install gh-pages

- name: Deploy to GitHub Pages
run: npm run deploy

0 comments on commit 612317f

Please sign in to comment.