-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a388d68
commit a2c494a
Showing
3 changed files
with
59 additions
and
72 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
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 |
---|---|---|
@@ -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 |