Feat/challenge hamming_distance: add the Hamming distance challenge i… #249
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: Deploy to Firebase Storage | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "curriculum.json" | |
| - "en/**" | |
| - "it/**" | |
| - "es/**" | |
| - "de/**" | |
| - "fr/**" | |
| - "pt/**" | |
| - "ja/**" | |
| - "ko/**" | |
| - "hi/**" | |
| - "zh/**" | |
| - "ru/**" | |
| - "pl/**" | |
| - "assets/**" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel Workflow Action | |
| uses: styfle/cancel-workflow-action@0.11.0 | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - id: "auth" | |
| uses: "google-github-actions/auth@v1" | |
| with: | |
| credentials_json: ${{ secrets.GCP_CREDENTIALS }} | |
| - id: upload-en | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: en | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-it | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: it | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-es | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: es | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-de | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: de | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-fr | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: fr | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-pt | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: pt | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-ja | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: ja | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-ko | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: ko | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-hi | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: hi | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-zh | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: zh | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-ru | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: ru | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-pl | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: pl | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-curriculum | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: curriculum.json | |
| destination: ${{ secrets.BUCKET_NAME }} | |
| - id: upload-assets | |
| uses: google-github-actions/upload-cloud-storage@v1 | |
| with: | |
| path: assets | |
| destination: ${{ secrets.BUCKET_NAME }} |