Skip to content

Commit

Permalink
michaels ace in the hole
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTamaki authored Jan 23, 2024
1 parent 6368877 commit af3413e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
#
name: Deploy Next.js site to Pages

# on:
# # Runs on pushes targeting the default branch
# push:
# branches: ["main"]

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
[push]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# # 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:
Expand Down Expand Up @@ -82,14 +85,14 @@ jobs:
with:
path: ./out

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# # Deployment job
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const nextConfig = {
reactStrictMode: true,
images: {
domains: ["avatars.githubusercontent.com"],
unoptimized: true,
},
};

Expand Down

0 comments on commit af3413e

Please sign in to comment.