Skip to content

Commit

Permalink
cd: setup git identity and use workflow search (#110)
Browse files Browse the repository at this point in the history
* cd: setup git identity and use workflow search

* cd: use dawidd6/action-download-artifact@v7
  • Loading branch information
Fingertips18 authored Jan 19, 2025
1 parent 5e3e0f7 commit 980c41e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@ jobs:
uses: actions/checkout@v4

- name: Download Build Artifact
uses: actions/download-artifact@v4
uses: dawidd6/action-download-artifact@v7
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 980c41e

Please sign in to comment.