Skip to content

Commit

Permalink
chore: fix gh action
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Ranjan Singh <rajivperfect007@gmail.com>
  • Loading branch information
iamrajiv committed Aug 22, 2024
1 parent 0ef4fa5 commit cbb5be4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
# For more customization options, review the GitHub Actions documentation:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

jobs:
build:
Expand All @@ -26,7 +24,7 @@ jobs:
- name: Set Up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "16" # Specify the Node.js version
cache: "pnpm"

- name: Install Dependencies
Expand All @@ -43,18 +41,21 @@ jobs:
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest

permissions:
pages: write # Required to deploy to Pages
id-token: write # Required to verify the deployment source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4

runs-on: ubuntu-latest
- name: Download Build Artifact
uses: actions/download-pages-artifact@v3

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const config: Config = {
title: 'Ramanujan Society',
tagline: 'Ramanujan Society Documentation',
favicon: 'img/favicon.ico',


// Set the production url of your site here
url: 'https://ramanujansociety.github.io',
Expand Down

0 comments on commit cbb5be4

Please sign in to comment.