Installing OSDK with GitHub action

I was wondering if there is an example of installing the Palantir OSDK for a particular application with GitHub actions CI/CD. I am currently having issues with authentication when deploying.

Best,
Jack

1 Like

If you look at the Dev console application under deploying application you will find these docs:

https://.palantirfoundry.com/workspace/developer-console/app//guides/deploying-applications?language=typescript&languageVersion=2.0#integrating-with-github-actions

it will be something like this:

name: Deploy
on:
  push:
    tags:
      - '*'
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v4
      - name: Setup Node
        uses: actions/setup-node@v4
          with:
            node-version: 20
            cache: npm
      - name: Install and Build
        run: |
          npm install
          npm run build
      - name: Deploy
        run: npx @osdk/cli@latest site deploy
    env:
      FOUNDRY_TOKEN: ${{ secrets.FOUNDRY_TOKEN }}
1 Like