Spaces:
Runtime error
Runtime error
Download UltraEdit/diffusers/.github/workflows/notify_slack_about_release.yml from FlowChef/RefEdit-SD3: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/FlowChef/RefEdit-SD3/resolve/main/UltraEdit/diffusers/.github/workflows/notify_slack_about_release.yml
- Command line
-
hf download hf://spaces/FlowChef/RefEdit-SD3/UltraEdit/diffusers/.github/workflows/notify_slack_about_release.yml
-
curl -L -o notify_slack_about_release.yml https://huggingface.co/spaces/FlowChef/RefEdit-SD3/resolve/main/UltraEdit/diffusers/.github/workflows/notify_slack_about_release.yml
487 Bytes
| name: Notify Slack about a release | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.8' | |
| - name: Notify Slack about the release | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| run: pip install requests && python utils/notify_slack_about_release.py | |