Skip to content

Commit

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

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

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

# # 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 @@ -85,14 +82,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

0 comments on commit 902c0b6

Please sign in to comment.