Skip to content

Commit

Permalink
fix(ci): Add CI to run on staging
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Aug 20, 2024
1 parent 8f6fc81 commit ba6c2a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set Tag
id: set-tag
run: |
TAG=$(echo "${{ needs.deploy.outputs.tag }}" | sed 's/[[:space:]]//g')
echo "::set-output name=tag::$TAG"
- name: install python dependencies
run: pip install .
- name: deploy to staging
Expand All @@ -58,6 +63,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_STAGING_LADYBUGBOT_TOKEN }}
- name: install python dependencies for samples
run: pip install -r samples/requirements.txt
- name: run on staging
run: python samples/run_jobs.py
env:
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_STAGING_LADYBUGBOT_TOKEN }}
TAG: ${{ steps.set-tag.outputs.tag }}
HOST: https://api.staging.pollination.cloud

deploy-to-production:
name: Deploy to Pollination Production
Expand Down

0 comments on commit ba6c2a7

Please sign in to comment.