ci: run astro build in the ci (#5255) #946
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: Deployment trigger | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
# yamllint disable-line rule:line-length | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deployment start | |
if: always() && github.event_name == 'push' && github.ref == 'refs/heads/main' | |
# yamllint disable-line rule:line-length | |
# nosemgrep: yaml.github-actions.security.third-party-action-not-pinned-to-commit-sha.third-party-action-not-pinned-to-commit-sha | |
uses: Mergifyio/gha-slack-notification@main | |
with: | |
type: deploy-start | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEPLOYMENT_WEBHOOK_URL_RELEASES }} |