fix: Add key prop to buttons in Game component and fix typo in SetLes… #7
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: Deployment | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
concurrency: | |
group: deploy | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: login | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: build | |
id: build-and-push | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
tags: ghcr.io/webmastercamp/${{ github.event.repository.name }}:latest | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Deploy to deploys.app | |
uses: deploys-app/deploys-action@v1 | |
with: | |
project: webmastercamp-jwc13 | |
location: gke.cluster-rcf2 | |
name: ${{ github.event.repository.name }} | |
image: ghcr.io/webmastercamp/${{ github.event.repository.name }}:latest | |
env: | |
DEPLOYS_AUTH_USER: ${{ secrets.DEPLOYS_AUTH_USER }} | |
DEPLOYS_AUTH_PASS: ${{ secrets.DEPLOYS_AUTH_PASS }} |