Add workflow to migrate secrets and variables to Depot CI #1
Workflow file for this run
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: Import secrets and variables to Depot CI | |
| on: push | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| secrets: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: depot/setup-action@v1 | |
| - name: Import secrets | |
| env: | |
| CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
| TRANSLATION_IO_API_KEY: ${{ secrets.TRANSLATION_IO_API_KEY }} | |
| TRANSLATION_SYNC_PAT: ${{ secrets.TRANSLATION_SYNC_PAT }} | |
| run: | | |
| unset DEPOT_TOKEN | |
| depot ci secrets add CODACY_PROJECT_TOKEN="$CODACY_PROJECT_TOKEN" TRANSLATION_IO_API_KEY="$TRANSLATION_IO_API_KEY" TRANSLATION_SYNC_PAT="$TRANSLATION_SYNC_PAT" --repo manyfold3d/manyfold |