Skip to content

Ludovic Private Actions #3

Ludovic Private Actions

Ludovic Private Actions #3

name: Ludovic Private Actions
# Controls when the workflow will run
on:
repository_dispatch:
types: [update-pages-event]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
copy-to-gdrive:
# Copy files to Google Drive
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Clone this repo
uses: actions/checkout@v3
# Upload files to Google Drive
- name: Upload to gdrive - cupx
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "*.cupx"
folderId: "1cPne5tYQhIVQPiiRz6NKjFoj1VOggrFp"
overwrite: "true"
- name: Upload to gdrive - Misc waypoints
uses: adityak74/google-drive-upload-git-action@main
with:
credentials: ${{ secrets.GDRIVE_LUDOVIC_LAUNER_CREDENTIALS }}
filename: "Misc/Ludo_waypoints.cup"
folderId: "1cPne5tYQhIVQPiiRz6NKjFoj1VOggrFp"
overwrite: "true"