Skip to content

Commit

Permalink
Merge branch 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanlee16 committed Mar 22, 2024
2 parents f16a91e + 01112a6 commit ee505d1
Show file tree
Hide file tree
Showing 5 changed files with 635 additions and 837 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/paragraph_pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Pull from Paragon

on:
workflow_dispatch:
inputs:
projectId:
type: string
required: true
description: 'Paragon project id'

commitId:
type: string
required: true
description: 'Paragon project commit id'

jobs:
pull_from_paragon:
name: Pull from Paragon
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- id: pull
uses: useparagon/paragraph-pull@cd3b536fdb187678d6a4971202644ffbd0e1b10c
with:
projectId: ${{ inputs.projectId }}
commitId: ${{ inputs.commitId }}
paragonKey: ${{ secrets.PARAGON_CLI_KEY }}
npmToken: ${{ secrets.NPM_TOKEN }}
paragonZeusUrl: https://seis-zeus.paragonsandbox.com
paragonDashboardUrl: https://seis.paragonsandbox.com
25 changes: 25 additions & 0 deletions .github/workflows/paragraph_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Push to Paragon

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
push_to_paragon:
name: Push to Paragon
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- id: push
uses: useparagon/paragraph-push@70c7762c33b63705dd070c0597b0986aafc8be0c
with:
paragonKey: ${{ secrets.PARAGON_CLI_KEY }}
npmToken: ${{ secrets.NPM_TOKEN }}
paragonZeusUrl: https://seis-zeus.paragonsandbox.com
paragonDashboardUrl: https://seis.paragonsandbox.com
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist/
out/
node_modules/
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
Loading

0 comments on commit ee505d1

Please sign in to comment.