Skip to content

Commit

Permalink
Update jekyll-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayguti authored Nov 27, 2024
1 parent eba5ae5 commit 4e075ca
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5

# Step to install Node.js and dependencies
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Install dependencies
run: npm install

# Build Angular project
- name: Build Angular project
run: npm run build --prod
env:
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}

# Step to build Jekyll
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down

0 comments on commit 4e075ca

Please sign in to comment.