Skip to content

Commit

Permalink
cd: change to github secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 committed Jan 18, 2025
1 parent 7b8282d commit 9aa309e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -46,4 +43,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist
path: dist
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
deploy:
name: Deploy Application
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Code
Expand All @@ -22,7 +21,7 @@ jobs:
with:
name: dist
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GH_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit 9aa309e

Please sign in to comment.