Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhvani365 authored Jun 22, 2024
1 parent 3140e2c commit 91e3ba2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,25 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Navigate to responsive-app directory
run: cd responsive-app

- name: Install dependencies
run: npm install
working-directory: responsive-app

- name: Build
run: npm run build
working-directory: responsive-app

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
FOLDER: responsive-app/build

0 comments on commit 91e3ba2

Please sign in to comment.