Skip to content

Commit

Permalink
New workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanlee16 committed Mar 21, 2024
1 parent a388d68 commit a2c494a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 72 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/paragraph.yml

This file was deleted.

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

0 comments on commit a2c494a

Please sign in to comment.