diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index 837a9c9..0000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Sync -on: - schedule: - - cron: "0 0 15 * *" - push: - branches: - - master - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: google/secrets-sync-action@v1.4.0 - name: Sync Secrets - with: - SECRETS: | - ^SYNCED_ - REPOSITORIES: | - ^googlemaps - ^googlemaps-samples - GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - env: - SYNCED_RUN_ID: ${{github.run_id}} - SYNCED_GITHUB_TOKEN_REPO: ${{secrets.GOOGLEMAPS_BOT_REPO_TOKEN}} - SYNCED_GOOGLE_MAPS_API_KEY_SERVICES: ${{secrets.GOOGLE_MAPS_API_KEY_SERVICES}} - SYNCED_GOOGLE_MAPS_API_KEY_WEB: ${{secrets.GOOGLE_MAPS_API_KEY_WEB}} - - run: sleep 30s - - uses: google/secrets-sync-action@v1.4.0 - name: Sync Sonatype Secrets - with: - SECRETS: | - ^SYNCED_SONATYPE - REPOSITORIES: | - ^googlemaps/java-.*$ - ^googlemaps/android-.*$ - ^googlemaps/google-maps-services-java$ - GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - env: - SYNCED_SONATYPE_USERNAME: ${{secrets.SONATYPE_USERNAME}} # googlemaps-bot - SYNCED_SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}} - - run: sleep 30s - - uses: google/secrets-sync-action@v1.4.0 - name: Sync GPG Secrets - with: - SECRETS: | - ^SYNCED_GPG_ - REPOSITORIES: | - ^googlemaps/java-.*$ - ^googlemaps/android-.*$ - ^googlemaps/google-maps-services-java$ - GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - env: - SYNCED_GPG_KEY_ARMOR: ${{secrets.GPG_KEY_ARMOR}} - SYNCED_GPG_KEY_ID: ${{secrets.GPG_KEY_ID}} - SYNCED_GPG_KEY_PASSWORD: ${{secrets.GPG_KEY_PASSWORD}} - - run: sleep 30s - - uses: google/secrets-sync-action@v1.4.0 - name: Sync Bazel Cache Secrets - with: - SECRETS: | - ^SYNCED_BAZEL_CACHE - REPOSITORIES: | - ^googlemaps/java-.*$ - ^googlemaps/python-.*$ - ^googlemaps/go-.*$ - ^googlemaps/js-samples$ - GITHUB_TOKEN: ${{ secrets.GOOGLEMAPS_BOT_REPO_TOKEN }} - env: - SYNCED_BAZEL_CACHE_SERVICE_ACCOUNT: ${{secrets.BAZEL_CACHE_SERVICE_ACCOUNT}} - SYNCED_BAZEL_CACHE_BUCKET: geo-devrel-bazel-cache