Bump the nuget-dependencies group with 12 updates #191
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| pull_request: | |
| branches: | |
| - master | |
| - develop | |
| types: [opened, reopened, synchronize] | |
| workflow_call: | |
| workflow_dispatch: | |
| name: ci-build | |
| env: | |
| REGISTRY: ghcr.io | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/container-build | |
| with: | |
| registry: ghcr.io | |
| registry-path: ${{ github.repository_owner }}/discord-bot | |
| registry-username: ${{ github.actor }} | |
| registry-password: ${{ secrets.GITHUB_TOKEN }} | |
| push-image: ${{ github.ref_type == 'branch' && github.ref_protected && github.event_name != 'pull_request' }} | |
| deploy-production: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| timeout-minutes: 2 | |
| if: ${{ github.ref_type == 'branch' && github.event_name != 'pull_request' && github.ref_name == 'master' }} | |
| environment: production | |
| steps: | |
| - name: Call deployment webhook | |
| shell: bash | |
| env: | |
| WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} | |
| run: | | |
| curl -X POST -d "" "$WEBHOOK_URL" |