Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Update and rename upload-to-google-drive.yml to .github/workflows/upl…
Browse files Browse the repository at this point in the history
…oad-to-google-drive.yml
  • Loading branch information
austinsonger authored Jun 9, 2024
1 parent 9b2aefd commit c7c37a6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/upload-to-google-drive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Upload New POAM

on:
push:
workflow_dispatch:

jobs:
uses: AnshPrakash/[email protected]
with:
client_id: ${{ secrets.CLIENT_ID }}
client_secret: ${{ secrets.CLIENT_SECRET }}
refresh_token: ${{ secrets.REFRESH_TOKEN }}
file-to-upload: 'file.txt'
upload-folder: 'some-folder-on-google-drive'

build:
runs-on: ubuntu-latest

steps:
- name: Get Time
id: time
uses: nanzm/get-time-action@master
with:
timeZone: UTC+8
format: 'YYYY-MM-DD-HH-mm-ss'
- name: Usage
env:
TIME: "${{ steps.time.outputs.time }}"
run: |
echo $TIME
9 changes: 0 additions & 9 deletions upload-to-google-drive.yml

This file was deleted.

0 comments on commit c7c37a6

Please sign in to comment.