Adding schemas for HyperCore datasets #394
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: Upload | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| upload: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: cancel previous runs | |
| uses: styfle/cancel-workflow-action@0.5.0 | |
| with: | |
| access_token: ${{ github.token }} | |
| - id: auth | |
| uses: google-github-actions/auth@v1 | |
| with: | |
| credentials_json: '${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}' | |
| - name: set up cloud SDK | |
| uses: google-github-actions/setup-gcloud@v1 | |
| with: | |
| version: '>= 363.0.0' | |
| project_id: ${{ secrets.GCP_PROJECT }} | |
| - name: upload | |
| run: |- | |
| gsutil rsync -r src gs://subsquid-public | |
| # - name: cors | |
| # run: |- | |
| # gsutil cors set cors.json gs://subsquid-public |