Skip to content

Commit

Permalink
Set working directory in CD
Browse files Browse the repository at this point in the history
  • Loading branch information
RowenTey authored Oct 3, 2024
1 parent c06cc15 commit 16bccec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ permissions:

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
# Recommended if you intend to make multiple deployments in quick succession.
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install and Build 🔧
working-directory: ./frontend
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
working-directory: ./frontend
with:
folder: build

0 comments on commit 16bccec

Please sign in to comment.