Skip to content

alr im finished for today #5

alr im finished for today

alr im finished for today #5

Workflow file for this run

name: Build Eleventy
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js >= 14.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: run eleventy
run: npx @11ty/eleventy
- name: upload static site content
uses: actions/upload-pages-artifact@v2
with:
path: ./_site
# Deployment job
deploy:
environment:
name: github-pages
url: https://moosyu.github.io/
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2