Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhuyn authored Sep 18, 2024
1 parent eccce0c commit ba39c0f
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: Build and Deploy
# name: Build and Deploy

on:
push:
branches:
- main
# on:
# push:
# branches:
# - main

permissions:
contents: write
# permissions:
# contents: write

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# jobs:
# # Single deploy job since we're just deploying
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Install and Build
run: |
npm ci
npm run build
# - name: Install and Build
# run: |
# npm ci
# npm run build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
# - name: Deploy 🚀
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# folder: dist

0 comments on commit ba39c0f

Please sign in to comment.