Read and store current values in the DB as well #105
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: Apply labels when deployed | |
on: | |
push: | |
branches: | |
- staging | |
- stable | |
jobs: | |
label: | |
name: Apply labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Staging deployment | |
uses: fedora-infra/label-when-in-branch@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: staging | |
label: deployed:staging | |
- name: Production deployment | |
uses: fedora-infra/label-when-in-branch@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: stable | |
label: deployed:prod |