chore: add gha integration test #4
Workflow file for this run
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
name: dogfood integration test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
env: | |
ORY_PROJECT_ID: "6c2ec103-0b67-4cfe-a975-8008ede7d2ff" | |
ORY_WORKSPACE_ID: "d4c796bf-6062-4cf0-87fc-5fcbf41743bb" | |
ORY_WORKSPACE_API_KEY: ${{ secrets.ORY_WORKSPACE_API_KEY }} | |
jobs: | |
gha: | |
runs-on: ubuntu-latest | |
container: | |
image: oryd/ory:v1.1.0 | |
options: --user root | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: read files from the repo | |
run: cat README.md | |
- name: write to file | |
run: echo "am i read/write?" > write | |
- name: Check integration | |
run: ory get project ${{ env.ORY_PROJECT_ID }} |