Skip to content

Commit

Permalink
cd: use vars to get run id (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 authored Jan 18, 2025
1 parent d23fffe commit 362ac2a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Portfolio - Deploy

on:
workflow_run:
workflows: ["Portfolio - Build"]
types:
- completed
workflow_dispatch:

jobs:
Expand All @@ -21,7 +17,7 @@ jobs:
with:
name: dist-artifact
github-token: ${{ github.token }}
run-id: ${{ github.event.workflow_run.id }}
run-id: ${{ vars.RUN_ID }}

- name: Setup Node
uses: actions/setup-node@v4
Expand Down

0 comments on commit 362ac2a

Please sign in to comment.