Skip to content

Sync Gdrive AWS S3

Sync Gdrive AWS S3 #3

Workflow file for this run

name: Sync Gdrive AWS S3
on:
workflow_dispatch:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Inject Secrets to Directory
uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.SERVICE_ACCOUNT }}
filename: decisive-fabric-155319-3dcd7ac1c659.json
working-directory: "."
# Has to be a better way to do this DRY
- name: Inject Secrets to Directory
uses: mobiledevops/secret-to-file-action@v1
with:
base64-encoded-secret: ${{ secrets.ENV }}
filename: decisive-fabric-155319-3dcd7ac1c659.json
working-directory: "."
- name: Lets run some python code
uses: actions/setup-python@v5
with:
python-version: '3.9'
- run: |
pip install -r requirements.txt
python gdrive_sync_to_s3.py