Skip to content

Merge pull request #2 from The00Dustin/patch-1 #20

Merge pull request #2 from The00Dustin/patch-1

Merge pull request #2 from The00Dustin/patch-1 #20

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-and-deploy:
name: Build & Deploy Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Prepare dependencies
run: npm install
- name: Build site
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build'
- name: Deploy to GitHub Pages
id: github-pages
uses: actions/deploy-pages@v1