Skip to content

Merge pull request #2 from kalik1/pol #21

Merge pull request #2 from kalik1/pol

Merge pull request #2 from kalik1/pol #21

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Adjust this if you want to deploy from a different branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20' # Adjust this based on your project's Node version
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages # The branch the action should deploy to
folder: build # The folder the action should deploy
token: ${{ secrets.GITHUB_TOKEN }} # Using the built-in GitHub Token
clean: true
force: true