Skip to content

Deploy to GitHub Pages #7

Deploy to GitHub Pages

Deploy to GitHub Pages #7

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Configure Git
run: |
git config --global user.name "toothlessdev"
git config --global user.email "toothless042@gmail.com"
- name: Build Gatsby application
run: npm run build
- name: Deploy to GitHub Pages
run: npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}