Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd: setup git identity and use workflow search #110

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading