Skip to content

Commit

Permalink
cd: use vars to get run id
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 committed Jan 18, 2025
1 parent d23fffe commit c807730
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 c807730

Please sign in to comment.