Skip to content

Commit

Permalink
Update job description
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudlena committed May 1, 2024
1 parent e7ee0a1 commit 26e03c6
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 197 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
build:
name: Build
needs: lint
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
Expand All @@ -37,13 +36,15 @@ jobs:
- name: Build
run: npm run build
- name: Upload artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-pages-artifact@v3
with:
path: ./build

deploy:
name: Deploy
needs: build
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
Loading

0 comments on commit 26e03c6

Please sign in to comment.