This repository was archived by the owner on May 22, 2025. It is now read-only.
Add shutdown notice #3
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
| name: CD | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Publish Docker | |
| uses: elgohr/[email protected] | |
| with: | |
| name: yogstation13/yogstation-feedback-normalisation/yogstation-feedback-normalisation | |
| username: ${{secrets.DOCKER_PUSH_USERNAME}} | |
| password: ${{secrets.DOCKER_PUSH_PASSWORD}} | |
| registry: docker.pkg.github.com | |
| tags: ${{github.sha}} | |
| - name: Deploy | |
| uses: steebchen/[email protected] | |
| env: | |
| KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} | |
| with: | |
| args: set image --namespace feedback-normalization cronjob/feedback-normalization feedback-normalization=docker.pkg.github.com/yogstation13/yogstation-feedback-normalisation/yogstation-feedback-normalisation:${{github.sha}} |