Skip to content

Commit

Permalink
Update deploy.yml (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xk4b1r authored Sep 6, 2024
1 parent 686f024 commit 587a7c9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@ on:
push:
branches:
- "main"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- run: npm install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build

env:
PUBLIC_BASE_PATH: /Thecyberhub.org

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.

0 comments on commit 587a7c9

Please sign in to comment.