Giter Club home page Giter Club logo

action-sharepoint-publish's Introduction

๐Ÿ‘‹ Hello

Hi there, I hope you're doing well !

I am co-founder of Altevo, where we design and build tailored digital products and software to improve everyday life. My background in software engineering has allowed me to become proficient with many languages and framework, including TypeScript, Node.js, C#, Kotlin, React, Angular and SQL.

I โค๏ธ working on open source projects !

TLDR :

  • ๐Ÿ‡จ๐Ÿ‡ฆ From Montreal, Canada
  • ๐ŸŽ“ Bachelor of Software Engineering @ ETS Montreal
  • ๐ŸŽ‰ Co-founder of Altevo, a new agency that aims to develop products to elevate businesses

My interests :

  • ๐Ÿ’ป Web Development, Design, AI and DevOPS
  • ๐Ÿง  Learning new things and sharing knowledge
  • ๐ŸŽน Music of all kinds
  • ๐Ÿ›ถ Hiking and outdoors activities
  • ๐Ÿ• Food, of course !

Get in touch !

LinkedIn Mail

You're the visitor since 2020-08-17

Take a look at my projects down there ! ๐Ÿ‘‡

action-sharepoint-publish's People

Contributors

larshp avatar obrassard avatar purplebearddan avatar stevebarnes-bh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

action-sharepoint-publish's Issues

Sharepoint Access Blocked by Conditional Access Policies

Hello, I was wondering if there is any setup required on the Sharepoint side to allow uploading to a Sharepoint site. When including your suggested GitHub YAML workflow file, I obtained this error:

[23:13:32] spsave: Error occured:
[23:13:32] spsave: <S:Fault>
<S:Code>
<S:Value>S:Sender</S:Value>
<S:Subcode>
<S:Value>wst:FailedAuthentication</S:Value>
</S:Subcode>
</S:Code>
<S:Reason>
<S:Text xml:lang="en-US">Authentication Failure</S:Text>
</S:Reason>
<S:Detail>
<psf:error xmlns:psf="http://schemas.microsoft.com/Passport/SoapServices/SOAPFault">
psf:value0x80048823</psf:value>
psf:internalerror
psf:code0x80048823</psf:code>
psf:textAADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.</psf:text>
</psf:internalerror>
</psf:error>
</S:Detail>
</S:Fault>

Use the action to deploy an angular build to SharePoint library by deleting the files from library and checking in again all files

Apologies I am new to the github action world so I am a little confused.

Like harsohailB, I want to use this action to deploy an Angular build to a SP library by deleting all the existing files and copying new files and checking-in the files.

I could follow https://github.com/harsohailB/react-app-sp-deployment to do a folder level deployment by just deploying the build folder I can deploy the dist folder in angular case. I was also planning to use the https://www.npmjs.com/package/sppurge package to purge the files first in the SP library and while uploading the files use the check-in option of spsave action so files are checked in as soon as they are uploaded.

So after comparing the two actions, I could see changes to the be done in the index.js and the package.json (to include sppurge) library to accomplish my requirement. I am planning to fork this action and perform these two actions.

As I am new to this world, just wanted to check if the above is sane or I am missing some steps.

Thanks in advance

Unable to publish the repo in SharePoint

Hi,

I am trying to clone my repo in the SharePoint.

When I run the actions .yml file, I get the below error:

Can you please let me know what might be the issue?

I have added the client Id and Secret key along with the URL and Library folder.

[06:39:09] spsave: Error occured:
[06:39:09] spsave: Error: read ECONNRESET

[06:39:09] spsave: Stack trace:

[06:39:09] spsave: RequestError: Error: read ECONNRESET
    at new RequestError (/app/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (/app/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (/app/node_modules/request-promise-core/lib/plumbing.js:[46](https://github.com/jairamjidgekar/KDB/actions/runs/4955972182/jobs/8865889443#step:4:47):31)
    at self.callback (/app/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.onRequestError (/app/node_modules/request/request.js:877:8)
    at ClientRequest.emit (events.js:182:13)
    at TLSSocket.socketErrorListener (_http_client.js:375:9)
    at TLSSocket.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
From previous event:
    at coreRequest (/app/node_modules/sp-request/lib/src/core/SPRequest.js:22:16)
    at spRequestFunc (/app/node_modules/sp-request/lib/src/core/SPRequest.js:69:20)
    at Function.spRequestFunc.(anonymous function) [as post] (/app/node_modules/sp-request/lib/src/core/SPRequest.js:109:24)
    at /app/node_modules/sp-request/lib/src/core/SPRequest.js:87:27
From previous event:
    at Function.spRequestFunc.requestDigest (/app/node_modules/sp-request/lib/src/core/SPRequest.js:79:16)
    at /app/node_modules/spsave/lib/src/core/FileSaver.js:54:36
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:6[49](https://github.com/jairamjidgekar/KDB/actions/runs/4955972182/jobs/8865889443#step:4:50):5)
From previous event:
    at FileSaver.saveFile (/app/node_modules/spsave/lib/src/core/FileSaver.js:53:14)
    at FileSaver.save (/app/node_modules/spsave/lib/src/core/FileSaver.js:38:18)
    at saveSingleFile (/app/node_modules/spsave/lib/src/core/SPSave.js:80:76)
    at /app/node_modules/spsave/lib/src/core/SPSave.js:41:13
From previous event:
    at spsave (/app/node_modules/spsave/lib/src/core/SPSave.js:13:12)
    at Object.<anonymous> (/app/index.js:28:1)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:[52](https://github.com/jairamjidgekar/KDB/actions/runs/4955972182/jobs/8865889443#step:4:53)8:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
    at startup (internal/bootstrap/node.js:228:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:[57](https://github.com/jairamjidgekar/KDB/actions/runs/4955972182/jobs/8865889443#step:4:58)6:3)

Sharepoint upload specific folder or file (e.g, .apk file)

To start ~ A big thanks to the library !!
I am starting off to learn how to create and market github-actions specifically app (android / iOS) related.

Though I am a bit stuck because it will archive all the repo and It seems my requirements requires only the .apk file or .ipa file.

Is there any future support for the above mentioned items?

And once again a big thanks to the library and its author !!

SharePoint authentication using ClientID and secret

Suggestion received by email :

It should be possible to authenticate with Client ID and Secret (App Principal on Sharepoint) in place of Username and password.

Seems like security is tying down more and more Microsoft products with using normal username and passwords.


In its current form the action only supports login with a username and password. However it seems that the package used to upload files to SharePoint (spsave) supports authentication with a clientId as seen here :ย https://github.com/s-KaiNet/spsave/blob/master/docs/Recipes.md

So we would have to update the action in order to add new parameters to support this type of authentication.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.