Skip to content

Commit

Permalink
feat: update trigger test (#82)
Browse files Browse the repository at this point in the history
* feat: update trigger test

* feat: update workflow
  • Loading branch information
pdsuwwz authored Aug 15, 2022
1 parent e44973b commit 90bec9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ name: gh-pages

on:
# set triggers here, like on push or on release
workflow_dispatch:
# workflow_dispatch:
push:
branches: [ main ]
pull_request:
workflow_run:
workflows: [ Unit-Testing ]
branches: [ main ]
types: [ completed ]

jobs:
deploy-pages:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
on-success:
name: Deplay pages
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<title>Vite Boilerplate i18n</title>
</head>
<body>
<div id="app"></div>
Expand Down

0 comments on commit 90bec9e

Please sign in to comment.