Skip to content

Merge branch 'main' of https://github.com/Willie-Conway/SOC-Simulator #12

Merge branch 'main' of https://github.com/Willie-Conway/SOC-Simulator

Merge branch 'main' of https://github.com/Willie-Conway/SOC-Simulator #12

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build with CI=false
run: npm run build
env:
CI: false
- name: Deploy docs folder to GitHub Pages
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add docs/ -f
git commit -m "Deploy docs folder" || echo "No changes to commit"
git push origin main