Skip to content

Update workflows to actions #6

Update workflows to actions

Update workflows to actions #6

Workflow file for this run

name: CD (platform.sh)
on:
release:
types:
- published
jobs:
ci:
name: CI
uses: ./.github/actions/tests

Check failure on line 11 in .github/workflows/platformsh-cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/platformsh-cd.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
python-version: ${{ vars.CI_PYTHON_VERSION }}
poetry-version: ${{ vars.CI_POETRY_VERSION }}
deploy:
runs-on: ubuntu-latest
needs: ci
steps:
- uses: actions/checkout@v3
- uses: axelerant/platformsh-deploy-action@v1
with:
project-id: ${{ secrets.PLATFORM_PROJECT_ID }}
cli-token: ${{ secrets.PLATFORM_CLI_TOKEN }}
ssh-private-key: ${{ secrets.PLATFORM_SSH_KEY }}
force-push: true
environment-name: main
notify-slack:
runs-on: ubuntu-latest
needs: deploy
steps:
- uses: actions/checkout@v3
- uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_TITLE: "A deployment to main is complete"