Skip to content

Bump django-hijack from 3.4.5 to 3.6.0 (#1501) #36

Bump django-hijack from 3.4.5 to 3.6.0 (#1501)

Bump django-hijack from 3.4.5 to 3.6.0 (#1501) #36

name: "Test and deploy to staging"
on:
push:
tags:
- "v*.*.*"
env:
DATABASE_URL: postgres://apilos:apilos@localhost:5432/apilos
DB_READONLY: postgres://apilos:apilos@localhost:5432/apilos
SECRET_KEY: secret-key
DEBUG: False
jobs:
check:
uses: ./.github/workflows/run_check.yml
test:
uses: ./.github/workflows/run_tests.yml
github_release:
name: "Create GitHub release"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
deploy_to_production:
name: "Deploy to Production"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: kolok/deploy-to-scalingo@v1
with:
ssh-private-key: ${{ secrets.SCALINGO_SSH_PRIVATE_KEY }}
app-name: fabnum-apilos
known-host: ssh.osc-fr1.scalingo.com
deploy_to_siap_production:
name: "Deploy to Siap Production"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: kolok/deploy-to-scalingo@v1
with:
ssh-private-key: ${{ secrets.SCALINGO_SSH_PRIVATE_KEY }}
app-name: apilos-siap-production
known-host: ssh.osc-fr1.scalingo.com
deploy_to_siap_recette:
name: "Deploy to Siap Recette"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: kolok/deploy-to-scalingo@v1
with:
ssh-private-key: ${{ secrets.SCALINGO_SSH_PRIVATE_KEY }}
app-name: apilos-siap-recette
known-host: ssh.osc-fr1.scalingo.com
deploy_to_siap_ecole:
name: "Deploy to Siap École"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: kolok/deploy-to-scalingo@v1
with:
ssh-private-key: ${{ secrets.SCALINGO_SSH_PRIVATE_KEY }}
app-name: apilos-siap-ecole
known-host: ssh.osc-fr1.scalingo.com