Merge pull request #175 from Valen7440/dev #1
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: deploy | |
on: | |
push: | |
branches: | |
- "dev" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and Publish | |
uses: VaultVulp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
image-name: fastapi-admin | |
deploy: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- name: Deploy fastapi-admin | |
uses: steebchen/[email protected] | |
with: | |
config: ${{ secrets.KUBE_CONFIG }} | |
command: rollout restart deployment fastapi-admin |