From a77bc306553e3a013f4de99058b451e8f51d2913 Mon Sep 17 00:00:00 2001 From: suchitra Date: Wed, 21 Feb 2024 12:00:15 +0000 Subject: [PATCH] testing gdrive uploading --- .github/workflows/gdrive.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/gdrive.yml diff --git a/.github/workflows/gdrive.yml b/.github/workflows/gdrive.yml new file mode 100644 index 000000000..acad11998 --- /dev/null +++ b/.github/workflows/gdrive.yml @@ -0,0 +1,34 @@ +name: Gdrive + +on: [push] + +jobs: + + build: + + runs-on: windows-2019 + env: + LANGUAGE: ${{ vars.LANGUAGE }} + steps: + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.REGION }} + - name: Enable git long paths to bypass path limit on Windows + run: git config --system core.longpaths true + - name: Check out the GMS2_Documentation repo + uses: actions/checkout@v3 + with: + path: Manual + token: ${{ secrets.GH_TOKEN }} + - name: Beta Builds + run: build_robohelp_gh.bat %GITHUB_WORKSPACE%\output + shell: cmd + working-directory: Manual + - name: Upload a file to Google Drive + uses: willo32/google-drive-upload-action@v1 + with: + target: output\RoboHelp\*.zip + credentials: ${{ secrets.CREDENTIALS_JSON }} + parent_folder_id: "1v3dkPTgtoJC96NOfFEyvpILkvzIXcng-" \ No newline at end of file