-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force added pnp-hugo-theme as a submodule
- Loading branch information
Hugo Bernier
committed
Apr 23, 2024
1 parent
de781b9
commit aca5608
Showing
14 changed files
with
240 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,20 @@ const ical = require('ical.js'); | |
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const ICS_URL = process.env.ICS_URL; // Use the environment variable | ||
const ICS_URL = process.env.ICS_URL || "https://outlook.office365.com/owa/calendar/[email protected]/299d3353259f4abf919f4abbeffea3863901301114936881794/calendar.ics"; // Use the environment variable | ||
const repoRoot = process.cwd(); | ||
console.log('Repo root:', repoRoot); | ||
|
||
let dirPath; | ||
if (process.argv.includes('--action')) { | ||
// If the script is being run as a GitHub Actions workflow | ||
dirPath = '../../'; | ||
dirPath = path.join(repoRoot, '../../'); | ||
console.log('Running as a GitHub Action'); | ||
console.log('Directory path:', dirPath); | ||
} else { | ||
// If the script is being run locally | ||
dirPath = './static/'; | ||
dirPath = path.join(repoRoot, './static/'); | ||
console.log('Directory path:', dirPath); | ||
} | ||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: SharePoint Framework Toolkit | ||
description: > | ||
Developi and manage SPFx solutions without leaving VS Code. From setting up your development workspace to deploying a solution straight to your tenant. | ||
Develop and manage SPFx solutions without leaving VS Code. From setting up your development workspace to deploying a solution straight to your tenant. | ||
image: images/extensions-background-spfxtoolkit.webp | ||
externalLink: "https://marketplace.visualstudio.com/items?itemName=m365pnp.viva-connections-toolkit" | ||
--- |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.