Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priya sharma45 test preview app #7

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/hasura-cloud-preview-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@ on: # rebuild any PRs and main branch changes
push:
branches:
- main

jobs:
hasura-cloud-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Hasura Cloud Preview Apps
uses: hasura/[email protected]
id: hasura_cloud_preview
- uses: hasura/[email protected]
with:
name: "github-demo-${{github.env.GITHUB_HEAD_REF}}${{github.event.number}}"
hasuraProjectDirectoryPath: demo
name: "preview-github-demo-${{github.env.GITHUB_HEAD_REF}}${{github.event.number}}"

hasuraProjectDirectoryPath: /demo
region: us-west-1
tier: cloud_free
hasuraEnv: |
HASURA_DB_URL=postgres://tfsqemzpqmscfg:34c435c98faf86e0ad7ea3462158ca25486fbe1dec1a785fa5ced193eedccf03@ec2-44-198-214-172.compute-1.amazonaws.com:5432/d5v3n8jtqp7ore
HASURA_DB_URL=postgres://tynzjehumqxueb:95463c0df8e7ec2327c729069f77b017a7a050f1e0b3f3e4be42808c8aa28a94@ec2-52-86-56-90.compute-1.amazonaws.com:5432/d745osa7m5mj2t
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
HASURA_CLOUD_ACCESS_TOKEN: ${{secrets.HASURA_CLOUD_ACCESS_TOKEN}}

- uses: hasura/[email protected]
with:
github-token: ${{secrets.GITHUB_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Test GitHub integration and Hasura preview apps.
Test GitHub integration and Hasura preview app.