Skip to content

Commit

Permalink
ci: try to enable gdrive-upload
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Mar 10, 2024
1 parent 753a383 commit 02562de
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .github/workflows/main.yml
name: Main
on:
push:
branches:
- 'main'
- 'gdrive-test'

jobs:
gdrive-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Archive files
run: |
sudo apt-get update
sudo apt-get install zip
zip -r archive.zip *
- name: Upload to gdrive
uses: mathisve/gdrive-upload-action@main
with:
filename: archive.zip
name: documentation.zip
folderId: ${{ secrets.folderId }}
credentials: ${{ secrets.credentials }}
encoded: false

0 comments on commit 02562de

Please sign in to comment.