Skip to content

refactor: ajout d'une action Hasura pour les notebook_focus et notebook_target #1169

refactor: ajout d'une action Hasura pour les notebook_focus et notebook_target

refactor: ajout d'une action Hasura pour les notebook_focus et notebook_target #1169

name: Deploy review apps
on:
pull_request:
types: ["synchronize"]
concurrency:
cancel-in-progress: true
group: deploy-review-apps-scalingo-${{ github.ref }}
jobs:
scalingo-deploy:
name: Deploy Scalingo review apps
runs-on: ubuntu-latest
# run only for local PRs, since we need secrets access anyway
if: github.event.pull_request.head.repo.id == github.event.pull_request.base.repo.id
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Scalingo CLI
uses: ./.github/actions/scalingo-cli
- name: Run deployment script
env:
SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}
run: |
./scripts/deploy-review-apps.sh "${{ github.event.number }}" "${{ github.head_ref }}"