Skip to content

Commit

Permalink
Create node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itbeard authored Aug 1, 2024
1 parent 6a292c6 commit 4afb1f7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install and Build
env:
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build

0 comments on commit 4afb1f7

Please sign in to comment.