Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # This action checks out your repository
- name: Build and Deploy
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.
# You can specify additional configuration here as needed.